#3E1C95#3E1C95

#3E1C95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.179 H 286.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#3E1C95
RGBrgb(62, 28, 149)
HSLhsl(257, 68%, 35%)
HSVhsv(257, 81%, 58%)
CMYKcmyk(58.4%, 81.2%, 0%, 41.6%)
CIE-LABlab(23.75, 46.17, -59.84)
CIE-LCHlch(23.75, 75.58, 307.66°)
OKLaboklab(36.36% 0.0502 -0.1723)
OKLCHoklch(36.36% 0.179 286.2)
XYZxyz(7.8250, 4.0241, 28.7923)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1C95 #73951C
analogous
#1C3695 #3E1C95 #7B1C95
triadic
#3E1C95 #953E1C #1C953E
tetradic
#3E1C95 #951C36 #73951C #1C957B
square
#3E1C95 #951C36 #73951C #1C957B
split-complementary
#3E1C95 #957B1C #36951C
monochromatic
#13092E #291261 #3E1C95 #5326C9 #764EDE

Accessibility & contrast

On white

11.63
#3E1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3E1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1C95
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1C95#FFFFFF#000000##FFFFFF
##3E1C951.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#124059
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e1c95;
/* rgb */ color: rgb(62, 28, 149);
/* oklch */ color: oklch(36.4% 0.179 286.2);
Tailwind
colors: {
  custom: {
    50: '#7e5eb5',
    500: '#3e1c95',
    950: '#000000',
  },
}
SCSS
$custom: #3e1c95;
$custom-light: #7e5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1c95",
  "rgb": {
    "r": 62,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 256.86,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.17949,
    "h": 286.2
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#3E1C95
secondary
#A0C04D
accent
#EB3DBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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