#6F236B#6F236B

#6F236B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.140 H 330.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6F236B
RGBrgb(111, 35, 107)
HSLhsl(303, 52%, 29%)
HSVhsv(303, 68%, 44%)
CMYKcmyk(0%, 68.5%, 3.6%, 56.5%)
CIE-LABlab(28.50, 42.75, -25.37)
CIE-LCHlch(28.50, 49.71, 329.31°)
OKLaboklab(40.18% 0.1209 -0.0698)
OKLCHoklch(40.18% 0.14 330)
XYZxyz(9.8104, 5.6438, 14.4797)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F236B #236F27
analogous
#4D236F #6F236B #6F2345
triadic
#6F236B #6B6F23 #236B6F
tetradic
#6F236B #6F4D23 #236F27 #23456F
square
#6F236B #6F4D23 #236F27 #23456F
split-complementary
#6F236B #456F23 #236F4D
monochromatic
#170716 #40143E #6F236B #9E3298 #C547BE

Accessibility & contrast

On white

9.87
#6F236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F236B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F236B#FFFFFF#000000##FFFFFF
##6F236B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6D
Deuteranopia (green-blind)
#384769
Tritanopia (blue-blind)
#732C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f236b;
/* rgb */ color: rgb(111, 35, 107);
/* oklch */ color: oklch(40.2% 0.140 330.0);
Tailwind
colors: {
  custom: {
    50: '#9b6595',
    500: '#6f236b',
    950: '#000000',
  },
}
SCSS
$custom: #6f236b;
$custom-light: #9b6595;
$custom-dark: #000000;
JSON
{
  "hex": "#6f236b",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 303.158,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.13966,
    "h": 330
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#6F236B
secondary
#4CA250
accent
#DB544C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F236B

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

Preview Lab → · Contrast checker → · Palette generator →

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