#6F2284#6F2284

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

Color values

HEX#6F2284
RGBrgb(111, 34, 132)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 52%)
CMYKcmyk(15.9%, 74.2%, 0%, 48.2%)
CIE-LABlab(29.89, 48.01, -39.00)
CIE-LCHlch(29.89, 61.85, 320.92°)
OKLaboklab(41.67% 0.1218 -0.1095)
OKLCHoklch(41.67% 0.164 318)
XYZxyz(11.2918, 6.1900, 22.4253)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2284 #378422
analogous
#3E2284 #6F2284 #842268
triadic
#6F2284 #846F22 #22846F
tetradic
#6F2284 #843E22 #378422 #226884
square
#6F2284 #843E22 #378422 #226884
split-complementary
#6F2284 #688422 #22843E
monochromatic
#1D0923 #461553 #6F2284 #982FB5 #B64FD2

Accessibility & contrast

On white

9.38
#6F2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2284
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2284#FFFFFF#000000##FFFFFF
##6F22841.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#6E3651
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2284;
/* rgb */ color: rgb(111, 34, 132);
/* oklch */ color: oklch(41.7% 0.164 318.0);
Tailwind
colors: {
  custom: {
    50: '#9c65a8',
    500: '#6f2284',
    950: '#000000',
  },
}
SCSS
$custom: #6f2284;
$custom-light: #9c65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2284",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 287.143,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.1638,
    "h": 318
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#6F2284
secondary
#63B54D
accent
#E24667
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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