#3E2183#3E2183

#3E2183 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.153 H 289.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#3E2183
RGBrgb(62, 33, 131)
HSLhsl(258, 60%, 32%)
HSVhsv(258, 75%, 51%)
CMYKcmyk(52.7%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.83, 38.42, -50.13)
CIE-LCHlch(22.83, 63.16, 307.46°)
OKLaboklab(35.18% 0.0515 -0.144)
OKLCHoklch(35.18% 0.153 289.7)
XYZxyz(6.6260, 3.7503, 21.8431)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2183 #668321
analogous
#213583 #3E2183 #6F2183
triadic
#3E2183 #833E21 #21833E
tetradic
#3E2183 #832135 #668321 #21836F
square
#3E2183 #832135 #668321 #21836F
split-complementary
#3E2183 #836F21 #358321
monochromatic
#100821 #271552 #3E2183 #552DB4 #744CD2

Accessibility & contrast

On white

12.00
#3E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2183
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2183#FFFFFF#000000##FFFFFF
##3E21831.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#253B50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2183;
/* rgb */ color: rgb(62, 33, 131);
/* oklch */ color: oklch(35.2% 0.153 289.7);
Tailwind
colors: {
  custom: {
    50: '#7b5fa8',
    500: '#3e2183',
    950: '#000000',
  },
}
SCSS
$custom: #3e2183;
$custom-light: #7b5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2183",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 257.755,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35176,
    "c": 0.15293,
    "h": 289.7
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#3E2183
secondary
#96B54B
accent
#E345B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2183

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

Preview Lab → · Contrast checker → · Palette generator →

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