#3B0D5B#3B0D5B

#3B0D5B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.129 H 306.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#3B0D5B
RGBrgb(59, 13, 91)
HSLhsl(275, 75%, 20%)
HSVhsv(275, 86%, 36%)
CMYKcmyk(35.2%, 85.7%, 0%, 64.3%)
CIE-LABlab(15.34, 36.39, -36.42)
CIE-LCHlch(15.34, 51.48, 314.98°)
OKLaboklab(28.68% 0.0761 -0.1037)
OKLCHoklch(28.68% 0.129 306.3)
XYZxyz(3.8355, 1.9730, 10.0743)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D5B #2D5B0D
analogous
#140D5B #3B0D5B #5B0D54
triadic
#3B0D5B #5B3B0D #0D5B3B
tetradic
#3B0D5B #5B140D #2D5B0D #0D545B
square
#3B0D5B #5B140D #2D5B0D #0D545B
split-complementary
#3B0D5B #545B0D #0D5B14
monochromatic
#11041B #180525 #3B0D5B #5E1591 #801CC6

Accessibility & contrast

On white

15.06
#3B0D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3B0D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D5B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D5B#FFFFFF#000000##FFFFFF
##3B0D5B1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#352234
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b0d5b;
/* rgb */ color: rgb(59, 13, 91);
/* oklch */ color: oklch(28.7% 0.129 306.3);
Tailwind
colors: {
  custom: {
    50: '#75528a',
    500: '#3b0d5b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d5b;
$custom-light: #75528a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d5b",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 91
  },
  "hsl": {
    "h": 275.385,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.12863,
    "h": 306.3
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#3B0D5B
secondary
#59952F
accent
#F23683
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09020C
muted
#7B787D

Preview Lab

Preview with #3B0D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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