#3E2184#3E2184

#3E2184 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.154 H 289.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#3E2184
RGBrgb(62, 33, 132)
HSLhsl(258, 60%, 32%)
HSVhsv(258, 75%, 52%)
CMYKcmyk(53%, 75%, 0%, 48.2%)
CIE-LABlab(22.92, 38.72, -50.61)
CIE-LCHlch(22.92, 63.72, 307.42°)
OKLaboklab(35.27% 0.0513 -0.1454)
OKLCHoklch(35.27% 0.154 289.4)
XYZxyz(6.6941, 3.7775, 22.2017)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2184 #678421
analogous
#213584 #3E2184 #702184
triadic
#3E2184 #843E21 #21843E
tetradic
#3E2184 #842135 #678421 #218470
square
#3E2184 #842135 #678421 #218470
split-complementary
#3E2184 #847021 #358421
monochromatic
#100922 #271553 #3E2184 #552DB5 #744DD2

Accessibility & contrast

On white

11.96
#3E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2184
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2184#FFFFFF#000000##FFFFFF
##3E21841.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#243B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2184;
/* rgb */ color: rgb(62, 33, 132);
/* oklch */ color: oklch(35.3% 0.154 289.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3e2184',
    950: '#000000',
  },
}
SCSS
$custom: #3e2184;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2184",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 257.576,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.15417,
    "h": 289.4
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#3E2184
secondary
#96B64B
accent
#E345B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2184

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

Preview Lab → · Contrast checker → · Palette generator →

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