#6F238D#6F238D

#6F238D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.171 H 314.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6F238D
RGBrgb(111, 35, 141)
HSLhsl(283, 60%, 35%)
HSVhsv(283, 75%, 55%)
CMYKcmyk(21.3%, 75.2%, 0%, 44.7%)
CIE-LABlab(30.65, 49.49, -43.36)
CIE-LCHlch(30.65, 65.80, 318.78°)
OKLaboklab(42.42% 0.1197 -0.1223)
OKLCHoklch(42.42% 0.171 314.4)
XYZxyz(11.9635, 6.5051, 25.8195)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F238D #418D23
analogous
#3A238D #6F238D #8D2376
triadic
#6F238D #8D6F23 #238D6F
tetradic
#6F238D #8D3A23 #418D23 #23768D
square
#6F238D #8D3A23 #418D23 #23768D
split-complementary
#6F238D #768D23 #238D3A
monochromatic
#220B2B #48175C #6F238D #962FBE #B155D5

Accessibility & contrast

On white

9.13
#6F238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F238D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F238D#FFFFFF#000000##FFFFFF
##6F238D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#6C3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f238d;
/* rgb */ color: rgb(111, 35, 141);
/* oklch */ color: oklch(42.4% 0.171 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c66af',
    500: '#6f238d',
    950: '#000000',
  },
}
SCSS
$custom: #6f238d;
$custom-light: #9c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f238d",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 283.019,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.17116,
    "h": 314.4
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#6F238D
secondary
#70B953
accent
#E34471
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F238D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6F238D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva