#3B1885#3B1885

#3B1885 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.165 H 288.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#3B1885
RGBrgb(59, 24, 133)
HSLhsl(259, 69%, 31%)
HSVhsv(259, 82%, 52%)
CMYKcmyk(55.6%, 82%, 0%, 47.8%)
CIE-LABlab(21.12, 43.03, -54.22)
CIE-LCHlch(21.12, 69.22, 308.44°)
OKLaboklab(33.96% 0.0534 -0.156)
OKLCHoklch(33.96% 0.165 288.9)
XYZxyz(6.3627, 3.2762, 22.4829)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1885 #628518
analogous
#182B85 #3B1885 #711885
triadic
#3B1885 #853B18 #18853B
tetradic
#3B1885 #85182B #628518 #188571
square
#3B1885 #85182B #628518 #188571
split-complementary
#3B1885 #857118 #2B8518
monochromatic
#0D051D #240F51 #3B1885 #5221B9 #6F3CDC

Accessibility & contrast

On white

12.69
#3B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3B1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1885
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1885#FFFFFF#000000##FFFFFF
##3B18851.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#1D384F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b1885;
/* rgb */ color: rgb(59, 24, 133);
/* oklch */ color: oklch(34.0% 0.165 288.9);
Tailwind
colors: {
  custom: {
    50: '#7a5aaa',
    500: '#3b1885',
    950: '#000000',
  },
}
SCSS
$custom: #3b1885;
$custom-light: #7a5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1885",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 259.266,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.16485,
    "h": 288.9
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#3B1885
secondary
#92B940
accent
#EC3CB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3B1885

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

Preview Lab → · Contrast checker → · Palette generator →

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