#3B1DA0#3B1DA0

#3B1DA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.192 H 282.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3B1DA0
RGBrgb(59, 29, 160)
HSLhsl(254, 69%, 37%)
HSVhsv(254, 82%, 63%)
CMYKcmyk(63.1%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.78, 48.56, -64.89)
CIE-LCHlch(24.78, 81.04, 306.81°)
OKLaboklab(37.36% 0.0412 -0.1872)
OKLCHoklch(37.36% 0.192 282.4)
XYZxyz(8.5862, 4.3460, 33.6373)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1DA0 #82A01D
analogous
#1D41A0 #3B1DA0 #7C1DA0
triadic
#3B1DA0 #A03B1D #1DA03B
tetradic
#3B1DA0 #A01D41 #82A01D #1DA07C
square
#3B1DA0 #A01D41 #82A01D #1DA07C
split-complementary
#3B1DA0 #A07C1D #41A01D
monochromatic
#150A38 #28146C #3B1DA0 #4E26D4 #7657E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B1DA0#FFFFFF#000000##FFFFFF
##3B1DA01.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)
#003FA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b1da0;
/* rgb */ color: rgb(59, 29, 160);
/* oklch */ color: oklch(37.4% 0.192 282.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ebd',
    500: '#3b1da0',
    950: '#000000',
  },
}
SCSS
$custom: #3b1da0;
$custom-light: #7f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1da0",
  "rgb": {
    "r": 59,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 253.74,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.19165,
    "h": 282.4
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#3B1DA0
secondary
#ABC455
accent
#EC3CC4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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