#3E2C90#3E2C90

#3E2C90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.156 H 284.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3E2C90
RGBrgb(62, 44, 144)
HSLhsl(251, 53%, 37%)
HSVhsv(251, 69%, 56%)
CMYKcmyk(56.9%, 69.4%, 0%, 43.5%)
CIE-LABlab(26.27, 36.19, -52.61)
CIE-LCHlch(26.27, 63.86, 304.52°)
OKLaboklab(38% 0.0388 -0.1513)
OKLCHoklch(38% 0.156 284.4)
XYZxyz(7.9198, 4.8386, 26.8968)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C90 #7E902C
analogous
#2C4C90 #3E2C90 #702C90
triadic
#3E2C90 #903E2C #2C903E
tetradic
#3E2C90 #902C4C #7E902C #2C9070
square
#3E2C90 #902C4C #7E902C #2C9070
split-complementary
#3E2C90 #90702C #4C902C
monochromatic
#160F32 #2A1E61 #3E2C90 #523ABF #7966D0

Accessibility & contrast

On white

10.67
#3E2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C90
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C90#FFFFFF#000000##FFFFFF
##3E2C901.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2c90;
/* rgb */ color: rgb(62, 44, 144);
/* oklch */ color: oklch(38.0% 0.156 284.4);
Tailwind
colors: {
  custom: {
    50: '#7c67b1',
    500: '#3e2c90',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c90;
$custom-light: #7c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c90",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 250.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.1562,
    "h": 284.4
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#3E2C90
secondary
#A7B761
accent
#DD4BC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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