#6E2183#6E2183

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

Color values

HEX#6E2183
RGBrgb(110, 33, 131)
HSLhsl(287, 60%, 32%)
HSVhsv(287, 75%, 51%)
CMYKcmyk(16%, 74.8%, 0%, 48.6%)
CIE-LABlab(29.52, 47.98, -38.97)
CIE-LCHlch(29.52, 61.82, 320.92°)
OKLaboklab(41.36% 0.1217 -0.1095)
OKLCHoklch(41.36% 0.164 318)
XYZxyz(11.0704, 6.0419, 22.0514)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2183 #368321
analogous
#3D2183 #6E2183 #832167
triadic
#6E2183 #836E21 #21836E
tetradic
#6E2183 #833D21 #368321 #216783
square
#6E2183 #833D21 #368321 #216783
split-complementary
#6E2183 #678321 #21833D
monochromatic
#1C0821 #451552 #6E2183 #972DB4 #B54CD2

Accessibility & contrast

On white

9.51
#6E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2183
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2183#FFFFFF#000000##FFFFFF
##6E21831.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#6D3550
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e2183;
/* rgb */ color: rgb(110, 33, 131);
/* oklch */ color: oklch(41.4% 0.164 318.0);
Tailwind
colors: {
  custom: {
    50: '#9b64a8',
    500: '#6e2183',
    950: '#000000',
  },
}
SCSS
$custom: #6e2183;
$custom-light: #9b64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2183",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 287.143,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.16365,
    "h": 318
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#6E2183
secondary
#62B54B
accent
#E34567
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E2183

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

Preview Lab → · Contrast checker → · Palette generator →

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