#6F2182#6F2182

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

Color values

HEX#6F2182
RGBrgb(111, 33, 130)
HSLhsl(288, 60%, 32%)
HSVhsv(288, 75%, 51%)
CMYKcmyk(14.6%, 74.6%, 0%, 49%)
CIE-LABlab(29.61, 48.00, -38.19)
CIE-LCHlch(29.61, 61.34, 321.50°)
OKLaboklab(41.43% 0.123 -0.1071)
OKLCHoklch(41.43% 0.163 318.9)
XYZxyz(11.1281, 6.0795, 21.7021)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2182 #348221
analogous
#3E2182 #6F2182 #822165
triadic
#6F2182 #826F21 #21826F
tetradic
#6F2182 #823E21 #348221 #216582
square
#6F2182 #823E21 #348221 #216582
split-complementary
#6F2182 #658221 #21823E
monochromatic
#1C0820 #451551 #6F2182 #992DB3 #B74CD2

Accessibility & contrast

On white

9.48
#6F2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6F2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2182
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2182#FFFFFF#000000##FFFFFF
##6F21821.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2182;
/* rgb */ color: rgb(111, 33, 130);
/* oklch */ color: oklch(41.4% 0.163 318.9);
Tailwind
colors: {
  custom: {
    50: '#9c65a7',
    500: '#6f2182',
    950: '#000000',
  },
}
SCSS
$custom: #6f2182;
$custom-light: #9c65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2182",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 288.247,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.16314,
    "h": 318.9
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#6F2182
secondary
#5FB44A
accent
#E34564
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F2182

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

Preview Lab → · Contrast checker → · Palette generator →

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