#3E1CA0#3E1CA0

#3E1CA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.192 H 284.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3E1CA0
RGBrgb(62, 28, 160)
HSLhsl(255, 70%, 37%)
HSVhsv(255, 83%, 63%)
CMYKcmyk(61.2%, 82.5%, 0%, 37.3%)
CIE-LABlab(24.93, 49.31, -64.64)
CIE-LCHlch(24.93, 81.30, 307.34°)
OKLaboklab(37.53% 0.0465 -0.1863)
OKLCHoklch(37.53% 0.192 284)
XYZxyz(8.7451, 4.3921, 33.6378)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1CA0 #7EA01C
analogous
#1C3CA0 #3E1CA0 #801CA0
triadic
#3E1CA0 #A03E1C #1CA03E
tetradic
#3E1CA0 #A01C3C #7EA01C #1CA080
square
#3E1CA0 #A01C3C #7EA01C #1CA080
split-complementary
#3E1CA0 #A0801C #3CA01C
monochromatic
#160A38 #2A136C #3E1CA0 #5225D4 #7955E1

Accessibility & contrast

On white

11.18
#3E1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1CA0
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1CA0#FFFFFF#000000##FFFFFF
##3E1CA01.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1ca0;
/* rgb */ color: rgb(62, 28, 160);
/* oklch */ color: oklch(37.5% 0.192 284.0);
Tailwind
colors: {
  custom: {
    50: '#805ebd',
    500: '#3e1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ca0;
$custom-light: #805ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ca0",
  "rgb": {
    "r": 62,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 255.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.19205,
    "h": 284
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#3E1CA0
secondary
#A7C453
accent
#ED3BBF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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