#3E2485#3E2485

#3E2485 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.152 H 288.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#3E2485
RGBrgb(62, 36, 133)
HSLhsl(256, 57%, 33%)
HSVhsv(256, 73%, 52%)
CMYKcmyk(53.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(23.60, 37.38, -50.13)
CIE-LCHlch(23.60, 62.53, 306.71°)
OKLaboklab(35.78% 0.0483 -0.144)
OKLCHoklch(35.78% 0.152 288.5)
XYZxyz(6.8499, 3.9790, 22.5929)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2485 #6B8524
analogous
#243B85 #3E2485 #6E2485
triadic
#3E2485 #853E24 #24853E
tetradic
#3E2485 #85243B #6B8524 #24856E
square
#3E2485 #85243B #6B8524 #24856E
split-complementary
#3E2485 #856E24 #3B8524
monochromatic
#110A25 #281755 #3E2485 #5431B5 #7553D0

Accessibility & contrast

On white

11.69
#3E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3E2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2485
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2485#FFFFFF#000000##FFFFFF
##3E24851.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#233D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2485;
/* rgb */ color: rgb(62, 36, 133);
/* oklch */ color: oklch(35.8% 0.152 288.5);
Tailwind
colors: {
  custom: {
    50: '#7b61a9',
    500: '#3e2485',
    950: '#000000',
  },
}
SCSS
$custom: #3e2485;
$custom-light: #7b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2485",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 256.082,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35783,
    "c": 0.15187,
    "h": 288.5
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#3E2485
secondary
#9AB450
accent
#E147B8
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2485

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

Preview Lab → · Contrast checker → · Palette generator →

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