#3B1DAE#3B1DAE

#3B1DAE is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 38.9% C 0.208 H 280.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3B1DAE
RGBrgb(59, 29, 174)
HSLhsl(252, 71%, 40%)
HSVhsv(252, 83%, 68%)
CMYKcmyk(66.1%, 83.3%, 0%, 31.8%)
CIE-LABlab(26.34, 52.59, -70.78)
CIE-LCHlch(26.34, 88.17, 306.61°)
OKLaboklab(38.89% 0.0366 -0.2043)
OKLCHoklch(38.89% 0.208 280.2)
XYZxyz(9.8806, 4.8637, 40.4543)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1DAE #90AE1D
analogous
#1D47AE #3B1DAE #841DAE
triadic
#3B1DAE #AE3B1D #1DAE3B
tetradic
#3B1DAE #AE1D47 #90AE1D #1DAE84
square
#3B1DAE #AE1D47 #90AE1D #1DAE84
split-complementary
#3B1DAE #AE841D #47AE1D
monochromatic
#170C45 #29147A #3B1DAE #512CDC #7C61E5

Accessibility & contrast

On white

10.64
#3B1DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B1DAE
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1DAE#FFFFFF#000000##FFFFFF
##3B1DAE1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b1dae;
/* rgb */ color: rgb(59, 29, 174);
/* oklch */ color: oklch(38.9% 0.208 280.2);
Tailwind
colors: {
  custom: {
    50: '#825fc8',
    500: '#3b1dae',
    950: '#000000',
  },
}
SCSS
$custom: #3b1dae;
$custom-light: #825fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1dae",
  "rgb": {
    "r": 59,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 252.414,
    "s": 71.429,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.20755,
    "h": 280.2
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#3B1DAE
secondary
#B3C95E
accent
#EE3AC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B1DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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