#6F287D#6F287D

#6F287D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.149 H 320.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6F287D
RGBrgb(111, 40, 125)
HSLhsl(290, 52%, 32%)
HSVhsv(290, 68%, 49%)
CMYKcmyk(11.2%, 68%, 0%, 51%)
CIE-LABlab(30.35, 44.00, -33.87)
CIE-LCHlch(30.35, 55.53, 322.41°)
OKLaboklab(41.86% 0.1154 -0.0946)
OKLCHoklch(41.86% 0.149 320.7)
XYZxyz(11.0156, 6.3783, 20.0490)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F287D #367D28
analogous
#45287D #6F287D #7D2860
triadic
#6F287D #7D6F28 #287D6F
tetradic
#6F287D #7D4528 #367D28 #28607D
square
#6F287D #7D4528 #367D28 #28607D
split-complementary
#6F287D #607D28 #287D45
monochromatic
#1D0A20 #46194F #6F287D #9837AB #B656C9

Accessibility & contrast

On white

9.23
#6F287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6F287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F287D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F287D#FFFFFF#000000##FFFFFF
##6F287D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4280
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#70374F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f287d;
/* rgb */ color: rgb(111, 40, 125);
/* oklch */ color: oklch(41.9% 0.149 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b68a3',
    500: '#6f287d',
    950: '#000000',
  },
}
SCSS
$custom: #6f287d;
$custom-light: #9b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f287d",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 290.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.14918,
    "h": 320.7
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#6F287D
secondary
#62AE53
accent
#DB4D64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F287D

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

Preview Lab → · Contrast checker → · Palette generator →

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