#6F2282#6F2282

#6F2282 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.162 H 318.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6F2282
RGBrgb(111, 34, 130)
HSLhsl(288, 59%, 32%)
HSVhsv(288, 74%, 51%)
CMYKcmyk(14.6%, 73.8%, 0%, 49%)
CIE-LABlab(29.75, 47.60, -37.96)
CIE-LCHlch(29.75, 60.88, 321.43°)
OKLaboklab(41.53% 0.122 -0.1065)
OKLCHoklch(41.53% 0.162 318.9)
XYZxyz(11.1563, 6.1358, 21.7114)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2282 #358222
analogous
#3F2282 #6F2282 #822265
triadic
#6F2282 #826F22 #22826F
tetradic
#6F2282 #823F22 #358222 #226582
square
#6F2282 #823F22 #358222 #226582
split-complementary
#6F2282 #658222 #22823F
monochromatic
#1C0921 #461551 #6F2282 #982FB3 #B74ED1

Accessibility & contrast

On white

9.43
#6F2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6F2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2282
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2282#FFFFFF#000000##FFFFFF
##6F22821.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#6F3550
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2282;
/* rgb */ color: rgb(111, 34, 130);
/* oklch */ color: oklch(41.5% 0.162 318.9);
Tailwind
colors: {
  custom: {
    50: '#9c65a7',
    500: '#6f2282',
    950: '#000000',
  },
}
SCSS
$custom: #6f2282;
$custom-light: #9c65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2282",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 288.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.16192,
    "h": 318.9
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#6F2282
secondary
#60B44C
accent
#E24665
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F2282

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

Preview Lab → · Contrast checker → · Palette generator →

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