#3E2B92#3E2B92

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

Color values

HEX#3E2B92
RGBrgb(62, 43, 146)
HSLhsl(251, 54%, 37%)
HSVhsv(251, 71%, 57%)
CMYKcmyk(57.5%, 70.5%, 0%, 42.7%)
CIE-LABlab(26.24, 37.41, -53.90)
CIE-LCHlch(26.24, 65.61, 304.76°)
OKLaboklab(38.03% 0.0394 -0.1551)
OKLCHoklch(38.03% 0.16 284.2)
XYZxyz(8.0372, 4.8267, 27.6967)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B92 #7F922B
analogous
#2B4C92 #3E2B92 #722B92
triadic
#3E2B92 #923E2B #2B923E
tetradic
#3E2B92 #922B4C #7F922B #2B9272
square
#3E2B92 #922B4C #7F922B #2B9272
split-complementary
#3E2B92 #92722B #4C922B
monochromatic
#160F33 #2A1D63 #3E2B92 #5239C1 #7A66D2

Accessibility & contrast

On white

10.68
#3E2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2B92
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B92#FFFFFF#000000##FFFFFF
##3E2B921.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#14465B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2b92;
/* rgb */ color: rgb(62, 43, 146);
/* oklch */ color: oklch(38.0% 0.160 284.2);
Tailwind
colors: {
  custom: {
    50: '#7d66b3',
    500: '#3e2b92',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b92;
$custom-light: #7d66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b92",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 251.068,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.16,
    "h": 284.2
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#3E2B92
secondary
#A8B861
accent
#DE4AC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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