#3B1E95#3B1E95

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

Color values

HEX#3B1E95
RGBrgb(59, 30, 149)
HSLhsl(255, 66%, 35%)
HSVhsv(255, 80%, 58%)
CMYKcmyk(60.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.76, 44.87, -59.83)
CIE-LCHlch(23.76, 74.78, 306.87°)
OKLaboklab(36.3% 0.0442 -0.1724)
OKLCHoklch(36.3% 0.178 284.4)
XYZxyz(7.6911, 4.0278, 28.8001)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1E95 #78951E
analogous
#1E3C95 #3B1E95 #761E95
triadic
#3B1E95 #953B1E #1E953B
tetradic
#3B1E95 #951E3C #78951E #1E9576
square
#3B1E95 #951E3C #78951E #1E9576
split-complementary
#3B1E95 #95761E #3C951E
monochromatic
#13092F #271462 #3B1E95 #4F28C8 #7351DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B1E95#FFFFFF#000000##FFFFFF
##3B1E951.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)
#014159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b1e95;
/* rgb */ color: rgb(59, 30, 149);
/* oklch */ color: oklch(36.3% 0.178 284.4);
Tailwind
colors: {
  custom: {
    50: '#7d5eb5',
    500: '#3b1e95',
    950: '#000000',
  },
}
SCSS
$custom: #3b1e95;
$custom-light: #7d5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1e95",
  "rgb": {
    "r": 59,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 254.622,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.17799,
    "h": 284.4
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#3B1E95
secondary
#A4BF50
accent
#E93EC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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