#6F2287#6F2287

#6F2287 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.167 H 316.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6F2287
RGBrgb(111, 34, 135)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.8%, 74.8%, 0%, 47.1%)
CIE-LABlab(30.09, 48.63, -40.54)
CIE-LCHlch(30.09, 63.31, 320.19°)
OKLaboklab(41.88% 0.1215 -0.114)
OKLCHoklch(41.88% 0.167 316.8)
XYZxyz(11.5001, 6.2733, 23.5221)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2287 #3A8722
analogous
#3D2287 #6F2287 #87226C
triadic
#6F2287 #876F22 #22876F
tetradic
#6F2287 #873D22 #3A8722 #226C87
square
#6F2287 #873D22 #3A8722 #226C87
split-complementary
#6F2287 #6C8722 #22873D
monochromatic
#1F0925 #471656 #6F2287 #972EB8 #B450D3

Accessibility & contrast

On white

9.31
#6F2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F2287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2287
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2287#FFFFFF#000000##FFFFFF
##6F22871.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#6E3753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2287;
/* rgb */ color: rgb(111, 34, 135);
/* oklch */ color: oklch(41.9% 0.167 316.8);
Tailwind
colors: {
  custom: {
    50: '#9c65aa',
    500: '#6f2287',
    950: '#000000',
  },
}
SCSS
$custom: #6f2287;
$custom-light: #9c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2287",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 285.743,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.16663,
    "h": 316.8
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#6F2287
secondary
#67B74E
accent
#E3456A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2287

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

Preview Lab → · Contrast checker → · Palette generator →

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