#6F2286#6F2286

#6F2286 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.166 H 317.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6F2286
RGBrgb(111, 34, 134)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.2%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.02, 48.42, -40.02)
CIE-LCHlch(30.02, 62.82, 320.42°)
OKLaboklab(41.81% 0.1216 -0.1125)
OKLCHoklch(41.81% 0.166 317.2)
XYZxyz(11.4300, 6.2453, 23.1530)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2286 #398622
analogous
#3D2286 #6F2286 #86226B
triadic
#6F2286 #866F22 #22866F
tetradic
#6F2286 #863D22 #398622 #226B86
square
#6F2286 #863D22 #398622 #226B86
split-complementary
#6F2286 #6B8622 #22863D
monochromatic
#1E0924 #471655 #6F2286 #972EB7 #B450D3

Accessibility & contrast

On white

9.34
#6F2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2286
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2286#FFFFFF#000000##FFFFFF
##6F22861.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#6E3752
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2286;
/* rgb */ color: rgb(111, 34, 134);
/* oklch */ color: oklch(41.8% 0.166 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c65aa',
    500: '#6f2286',
    950: '#000000',
  },
}
SCSS
$custom: #6f2286;
$custom-light: #9c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2286",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 286.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.16569,
    "h": 317.2
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#6F2286
secondary
#66B64E
accent
#E34569
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2286

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

Preview Lab → · Contrast checker → · Palette generator →

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