#3D1BAD#3D1BAD

#3D1BAD is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.208 H 281.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3D1BAD
RGBrgb(61, 27, 173)
HSLhsl(254, 73%, 39%)
HSVhsv(254, 84%, 68%)
CMYKcmyk(64.7%, 84.4%, 0%, 32.2%)
CIE-LABlab(26.13, 53.30, -70.51)
CIE-LCHlch(26.13, 88.39, 307.08°)
OKLaboklab(38.76% 0.0409 -0.2035)
OKLCHoklch(38.76% 0.208 281.4)
XYZxyz(9.8569, 4.7923, 39.9326)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1BAD #8BAD1B
analogous
#1B42AD #3D1BAD #861BAD
triadic
#3D1BAD #AD3D1B #1BAD3D
tetradic
#3D1BAD #AD1B42 #8BAD1B #1BAD86
square
#3D1BAD #AD1B42 #8BAD1B #1BAD86
split-complementary
#3D1BAD #AD861B #42AD1B
monochromatic
#180A43 #2A1378 #3D1BAD #5228DD #7D5DE6

Accessibility & contrast

On white

10.72
#3D1BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D1BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1BAD
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1BAD#FFFFFF#000000##FFFFFF
##3D1BAD1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d1bad;
/* rgb */ color: rgb(61, 27, 173);
/* oklch */ color: oklch(38.8% 0.208 281.4);
Tailwind
colors: {
  custom: {
    50: '#835fc7',
    500: '#3d1bad',
    950: '#000000',
  },
}
SCSS
$custom: #3d1bad;
$custom-light: #835fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1bad",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 253.973,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.20752,
    "h": 281.4
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#3D1BAD
secondary
#B0CA5A
accent
#F038C5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D1BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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