#6F287E#6F287E

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

Color values

HEX#6F287E
RGBrgb(111, 40, 126)
HSLhsl(290, 52%, 33%)
HSVhsv(290, 68%, 49%)
CMYKcmyk(11.9%, 68.3%, 0%, 50.6%)
CIE-LABlab(30.41, 44.21, -34.40)
CIE-LCHlch(30.41, 56.02, 322.11°)
OKLaboklab(41.92% 0.1154 -0.0961)
OKLCHoklch(41.92% 0.15 320.2)
XYZxyz(11.0798, 6.4040, 20.3871)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F287E #377E28
analogous
#44287E #6F287E #7E2862
triadic
#6F287E #7E6F28 #287E6F
tetradic
#6F287E #7E4428 #377E28 #28627E
square
#6F287E #7E4428 #377E28 #28627E
split-complementary
#6F287E #627E28 #287E44
monochromatic
#1D0B21 #461950 #6F287E #9837AC #B657CA

Accessibility & contrast

On white

9.21
#6F287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F287E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F287E#FFFFFF#000000##FFFFFF
##6F287E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#70374F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f287e;
/* rgb */ color: rgb(111, 40, 126);
/* oklch */ color: oklch(41.9% 0.150 320.2);
Tailwind
colors: {
  custom: {
    50: '#9b68a4',
    500: '#6f287e',
    950: '#000000',
  },
}
SCSS
$custom: #6f287e;
$custom-light: #9b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f287e",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 289.535,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.15016,
    "h": 320.2
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#6F287E
secondary
#63AF53
accent
#DB4D65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F287E

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

Preview Lab → · Contrast checker → · Palette generator →

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