#6F236A#6F236A

#6F236A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.139 H 330.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6F236A
RGBrgb(111, 35, 106)
HSLhsl(304, 52%, 29%)
HSVhsv(304, 68%, 44%)
CMYKcmyk(0%, 68.5%, 4.5%, 56.5%)
CIE-LABlab(28.44, 42.57, -24.81)
CIE-LCHlch(28.44, 49.27, 329.76°)
OKLaboklab(40.12% 0.1209 -0.0682)
OKLCHoklch(40.12% 0.139 330.6)
XYZxyz(9.7581, 5.6229, 14.2043)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F236A #236F28
analogous
#4E236F #6F236A #6F2344
triadic
#6F236A #6A6F23 #236A6F
tetradic
#6F236A #6F4E23 #236F28 #23446F
square
#6F236A #6F4E23 #236F28 #23446F
split-complementary
#6F236A #446F23 #236F4E
monochromatic
#170716 #40143E #6F236A #9E3296 #C547BD

Accessibility & contrast

On white

9.89
#6F236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6F236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F236A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F236A#FFFFFF#000000##FFFFFF
##6F236A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#384768
Tritanopia (blue-blind)
#732B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f236a;
/* rgb */ color: rgb(111, 35, 106);
/* oklch */ color: oklch(40.1% 0.139 330.6);
Tailwind
colors: {
  custom: {
    50: '#9b6595',
    500: '#6f236a',
    950: '#000000',
  },
}
SCSS
$custom: #6f236a;
$custom-light: #9b6595;
$custom-dark: #000000;
JSON
{
  "hex": "#6f236a",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 303.947,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.13879,
    "h": 330.6
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#6F236A
secondary
#4CA251
accent
#DB564C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F236A

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

Preview Lab → · Contrast checker → · Palette generator →

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