#3B113B#3B113B

#3B113B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.089 H 327.7°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#3B113B
RGBrgb(59, 17, 59)
HSLhsl(300, 55%, 15%)
HSVhsv(300, 71%, 23%)
CMYKcmyk(0%, 71.2%, 0%, 76.9%)
CIE-LABlab(13.51, 27.10, -17.27)
CIE-LCHlch(13.51, 32.13, 327.50°)
OKLaboklab(26.59% 0.0755 -0.0477)
OKLCHoklch(26.59% 0.089 327.7)
XYZxyz(2.7935, 1.6467, 4.3075)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B113B #113B11
analogous
#26113B #3B113B #3B1126
triadic
#3B113B #3B3B11 #113B3B
tetradic
#3B113B #3B2611 #113B11 #11263B
square
#3B113B #3B2611 #113B11 #11263B
split-complementary
#3B113B #263B11 #113B26
monochromatic
#180718 #180718 #3B113B #6B1F6B #9A2C9A

Accessibility & contrast

On white

15.80
#3B113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3B113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B113B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B113B#FFFFFF#000000##FFFFFF
##3B113B1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3C
Deuteranopia (green-blind)
#1B253A
Tritanopia (blue-blind)
#3D1624
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b113b;
/* rgb */ color: rgb(59, 17, 59);
/* oklch */ color: oklch(26.6% 0.089 327.7);
Tailwind
colors: {
  custom: {
    50: '#735371',
    500: '#3b113b',
    950: '#000000',
  },
}
SCSS
$custom: #3b113b;
$custom-light: #735371;
$custom-dark: #000000;
JSON
{
  "hex": "#3b113b",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 300,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26593,
    "c": 0.08927,
    "h": 327.7
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#3B113B
secondary
#337433
accent
#DF4949
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B113B

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

Preview Lab → · Contrast checker → · Palette generator →

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