#3B0B4F#3B0B4F

#3B0B4F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.118 H 313.3°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3B0B4F
RGBrgb(59, 11, 79)
HSLhsl(282, 76%, 18%)
HSVhsv(282, 86%, 31%)
CMYKcmyk(25.3%, 86.1%, 0%, 69%)
CIE-LABlab(14.02, 34.27, -30.42)
CIE-LCHlch(14.02, 45.82, 318.41°)
OKLaboklab(27.43% 0.0811 -0.086)
OKLCHoklch(27.43% 0.118 313.3)
XYZxyz(3.3343, 1.7338, 7.5546)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0B4F #1F4F0B
analogous
#190B4F #3B0B4F #4F0B41
triadic
#3B0B4F #4F3B0B #0B4F3B
tetradic
#3B0B4F #4F190B #1F4F0B #0B414F
square
#3B0B4F #4F190B #1F4F0B #0B414F
split-complementary
#3B0B4F #414F0B #0B4F19
monochromatic
#14041B #14041B #3B0B4F #631285 #8B1ABA

Accessibility & contrast

On white

15.59
#3B0B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3B0B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0B4F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0B4F#FFFFFF#000000##FFFFFF
##3B0B4F1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#391B2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0b4f;
/* rgb */ color: rgb(59, 11, 79);
/* oklch */ color: oklch(27.4% 0.118 313.3);
Tailwind
colors: {
  custom: {
    50: '#745181',
    500: '#3b0b4f',
    950: '#000000',
  },
}
SCSS
$custom: #3b0b4f;
$custom-light: #745181;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0b4f",
  "rgb": {
    "r": 59,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 282.353,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27425,
    "c": 0.11826,
    "h": 313.3
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#3B0B4F
secondary
#478B2B
accent
#F2366D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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