#3E2E84#3E2E84

#3E2E84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.138 H 286.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2E84
RGBrgb(62, 46, 132)
HSLhsl(251, 48%, 35%)
HSVhsv(251, 65%, 52%)
CMYKcmyk(53%, 65.2%, 0%, 48.2%)
CIE-LABlab(25.69, 31.13, -46.08)
CIE-LCHlch(25.69, 55.61, 304.04°)
OKLaboklab(37.26% 0.0383 -0.1321)
OKLCHoklch(37.26% 0.138 286.2)
XYZxyz(7.1272, 4.6437, 22.3461)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E84 #74842E
analogous
#2E4984 #3E2E84 #692E84
triadic
#3E2E84 #843E2E #2E843E
tetradic
#3E2E84 #842E49 #74842E #2E8469
square
#3E2E84 #842E49 #74842E #2E8469
split-complementary
#3E2E84 #84692E #49842E
monochromatic
#130E29 #291E57 #3E2E84 #533EB1 #7664C9

Accessibility & contrast

On white

10.89
#3E2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3E2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E84
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E84#FFFFFF#000000##FFFFFF
##3E2E841.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#234354
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2e84;
/* rgb */ color: rgb(62, 46, 132);
/* oklch */ color: oklch(37.3% 0.138 286.2);
Tailwind
colors: {
  custom: {
    50: '#7a67a8',
    500: '#3e2e84',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e84;
$custom-light: #7a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e84",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 251.163,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.13757,
    "h": 286.2
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#3E2E84
secondary
#A0B05E
accent
#D850BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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