#3E2085#3E2085

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

Color values

HEX#3E2085
RGBrgb(62, 32, 133)
HSLhsl(258, 61%, 32%)
HSVhsv(258, 76%, 52%)
CMYKcmyk(53.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.83, 39.55, -51.39)
CIE-LCHlch(22.83, 64.85, 307.58°)
OKLaboklab(35.23% 0.0519 -0.1477)
OKLCHoklch(35.23% 0.157 289.4)
XYZxyz(6.7355, 3.7503, 22.5547)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2085 #678520
analogous
#203485 #3E2085 #712085
triadic
#3E2085 #853E20 #20853E
tetradic
#3E2085 #852034 #678520 #208571
square
#3E2085 #852034 #678520 #208571
split-complementary
#3E2085 #857120 #348520
monochromatic
#100822 #271454 #3E2085 #552CB6 #744CD4

Accessibility & contrast

On white

12.00
#3E2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2085
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2085#FFFFFF#000000##FFFFFF
##3E20851.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#243B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2085;
/* rgb */ color: rgb(62, 32, 133);
/* oklch */ color: oklch(35.2% 0.157 289.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3e2085',
    950: '#000000',
  },
}
SCSS
$custom: #3e2085;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2085",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 257.822,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35234,
    "c": 0.15653,
    "h": 289.4
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#3E2085
secondary
#96B74A
accent
#E443B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2085

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

Preview Lab → · Contrast checker → · Palette generator →

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