#3E1E9C#3E1E9C

#3E1E9C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.186 H 284.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9C
RGBrgb(62, 30, 156)
HSLhsl(255, 68%, 36%)
HSVhsv(255, 81%, 61%)
CMYKcmyk(60.3%, 80.8%, 0%, 38.8%)
CIE-LABlab(24.80, 47.28, -62.40)
CIE-LCHlch(24.80, 78.29, 307.15°)
OKLaboklab(37.32% 0.0466 -0.1798)
OKLCHoklch(37.32% 0.186 284.5)
XYZxyz(8.4498, 4.3524, 31.8409)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9C #7C9C1E
analogous
#1E3D9C #3E1E9C #7D1E9C
triadic
#3E1E9C #9C3E1E #1E9C3E
tetradic
#3E1E9C #9C1E3D #7C9C1E #1E9C7D
square
#3E1E9C #9C1E3D #7C9C1E #1E9C7D
split-complementary
#3E1E9C #9C7D1E #3D9C1E
monochromatic
#150A35 #2A1469 #3E1E9C #5228CF #7956DE

Accessibility & contrast

On white

11.23
#3E1E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E1E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9C#FFFFFF#000000##FFFFFF
##3E1E9C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1e9c;
/* rgb */ color: rgb(62, 30, 156);
/* oklch */ color: oklch(37.3% 0.186 284.5);
Tailwind
colors: {
  custom: {
    50: '#805fba',
    500: '#3e1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9c;
$custom-light: #805fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9c",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 255.238,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37316,
    "c": 0.18579,
    "h": 284.5
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#3E1E9C
secondary
#A6C254
accent
#EB3DBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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