#6F2285#6F2285

#6F2285 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.165 H 317.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6F2285
RGBrgb(111, 34, 133)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 52%)
CMYKcmyk(16.5%, 74.4%, 0%, 47.8%)
CIE-LABlab(29.95, 48.22, -39.51)
CIE-LCHlch(29.95, 62.34, 320.67°)
OKLaboklab(41.74% 0.1217 -0.111)
OKLCHoklch(41.74% 0.165 317.6)
XYZxyz(11.3606, 6.2175, 22.7874)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2285 #388522
analogous
#3E2285 #6F2285 #852269
triadic
#6F2285 #856F22 #22856F
tetradic
#6F2285 #853E22 #388522 #226985
square
#6F2285 #853E22 #388522 #226985
split-complementary
#6F2285 #698522 #22853E
monochromatic
#1E0924 #461654 #6F2285 #982EB6 #B54FD2

Accessibility & contrast

On white

9.36
#6F2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2285
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2285#FFFFFF#000000##FFFFFF
##6F22851.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#6E3651
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2285;
/* rgb */ color: rgb(111, 34, 133);
/* oklch */ color: oklch(41.7% 0.165 317.6);
Tailwind
colors: {
  custom: {
    50: '#9c65a9',
    500: '#6f2285',
    950: '#000000',
  },
}
SCSS
$custom: #6f2285;
$custom-light: #9c65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2285",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 286.667,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.16475,
    "h": 317.6
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#6F2285
secondary
#64B64D
accent
#E24568
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2285

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

Preview Lab → · Contrast checker → · Palette generator →

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