#3E2E89#3E2E89

#3E2E89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.144 H 285.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3E2E89
RGBrgb(62, 46, 137)
HSLhsl(251, 50%, 36%)
HSVhsv(251, 66%, 54%)
CMYKcmyk(54.7%, 66.4%, 0%, 46.3%)
CIE-LABlab(26.11, 32.74, -48.53)
CIE-LCHlch(26.11, 58.54, 304.00°)
OKLaboklab(37.69% 0.0378 -0.1393)
OKLCHoklch(37.69% 0.144 285.2)
XYZxyz(7.4776, 4.7839, 24.1914)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E89 #79892E
analogous
#2E4B89 #3E2E89 #6B2E89
triadic
#3E2E89 #893E2E #2E893E
tetradic
#3E2E89 #892E4B #79892E #2E896B
square
#3E2E89 #892E4B #79892E #2E896B
split-complementary
#3E2E89 #896B2E #4B892E
monochromatic
#150F2D #291F5B #3E2E89 #533DB7 #7866CC

Accessibility & contrast

On white

10.73
#3E2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E89
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E89#FFFFFF#000000##FFFFFF
##3E2E891.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#1F4457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2e89;
/* rgb */ color: rgb(62, 46, 137);
/* oklch */ color: oklch(37.7% 0.144 285.2);
Tailwind
colors: {
  custom: {
    50: '#7b68ac',
    500: '#3e2e89',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e89;
$custom-light: #7b68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e89",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 250.549,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.14435,
    "h": 285.2
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#3E2E89
secondary
#A4B260
accent
#D94FC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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