#3E2D90#3E2D90

#3E2D90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.155 H 284.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3E2D90
RGBrgb(62, 45, 144)
HSLhsl(250, 52%, 37%)
HSVhsv(250, 69%, 56%)
CMYKcmyk(56.9%, 68.7%, 0%, 43.5%)
CIE-LABlab(26.49, 35.59, -52.25)
CIE-LCHlch(26.49, 63.22, 304.26°)
OKLaboklab(38.15% 0.0379 -0.1502)
OKLCHoklch(38.15% 0.155 284.1)
XYZxyz(7.9575, 4.9141, 26.9093)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D90 #7F902D
analogous
#2D4E90 #3E2D90 #702D90
triadic
#3E2D90 #903E2D #2D903E
tetradic
#3E2D90 #902D4E #7F902D #2D9070
square
#3E2D90 #902D4E #7F902D #2D9070
split-complementary
#3E2D90 #90702D #4E902D
monochromatic
#161033 #2A1E61 #3E2D90 #523CBF #7A68D0

Accessibility & contrast

On white

10.59
#3E2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D90
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D90#FFFFFF#000000##FFFFFF
##3E2D901.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#17465A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2d90;
/* rgb */ color: rgb(62, 45, 144);
/* oklch */ color: oklch(38.2% 0.155 284.1);
Tailwind
colors: {
  custom: {
    50: '#7c67b1',
    500: '#3e2d90',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d90;
$custom-light: #7c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d90",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 250.303,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.15495,
    "h": 284.1
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#3E2D90
secondary
#A8B662
accent
#DC4CC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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