#3E2A83#3E2A83

#3E2A83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.142 H 287.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3E2A83
RGBrgb(62, 42, 131)
HSLhsl(253, 51%, 34%)
HSVhsv(253, 68%, 51%)
CMYKcmyk(52.7%, 67.9%, 0%, 48.6%)
CIE-LABlab(24.70, 33.26, -47.08)
CIE-LCHlch(24.70, 57.65, 305.24°)
OKLaboklab(36.51% 0.0427 -0.1351)
OKLCHoklch(36.51% 0.142 287.5)
XYZxyz(6.9101, 4.3184, 21.9378)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A83 #6F832A
analogous
#2A4383 #3E2A83 #6B2A83
triadic
#3E2A83 #833E2A #2A833E
tetradic
#3E2A83 #832A43 #6F832A #2A836B
square
#3E2A83 #832A43 #6F832A #2A836B
split-complementary
#3E2A83 #836B2A #43832A
monochromatic
#120C26 #281B55 #3E2A83 #5439B1 #755DCB

Accessibility & contrast

On white

11.27
#3E2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A83
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A83#FFFFFF#000000##FFFFFF
##3E2A831.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#254052
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2a83;
/* rgb */ color: rgb(62, 42, 131);
/* oklch */ color: oklch(36.5% 0.142 287.5);
Tailwind
colors: {
  custom: {
    50: '#7a65a8',
    500: '#3e2a83',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a83;
$custom-light: #7a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a83",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 253.483,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36513,
    "c": 0.14165,
    "h": 287.5
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#3E2A83
secondary
#9DB158
accent
#DB4DBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3E2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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