#3B153E#3B153E

#3B153E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.085 H 324.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3B153E
RGBrgb(59, 21, 62)
HSLhsl(296, 49%, 16%)
HSVhsv(296, 66%, 24%)
CMYKcmyk(4.8%, 66.1%, 0%, 75.7%)
CIE-LABlab(14.48, 25.60, -17.86)
CIE-LCHlch(14.48, 31.21, 325.09°)
OKLaboklab(27.36% 0.0698 -0.0494)
OKLCHoklch(27.36% 0.085 324.7)
XYZxyz(2.9412, 1.8141, 4.7517)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B153E #183E15
analogous
#27153E #3B153E #3E152D
triadic
#3B153E #3E3B15 #153E3B
tetradic
#3B153E #3E2715 #183E15 #152D3E
square
#3B153E #3E2715 #183E15 #152D3E
split-complementary
#3B153E #2D3E15 #153E27
monochromatic
#160817 #160817 #3B153E #67246C #923499

Accessibility & contrast

On white

15.41
#3B153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B153E
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B153E#FFFFFF#000000##FFFFFF
##3B153E1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#3C1B27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b153e;
/* rgb */ color: rgb(59, 21, 62);
/* oklch */ color: oklch(27.4% 0.085 324.7);
Tailwind
colors: {
  custom: {
    50: '#725573',
    500: '#3b153e',
    950: '#000000',
  },
}
SCSS
$custom: #3b153e;
$custom-light: #725573;
$custom-dark: #000000;
JSON
{
  "hex": "#3b153e",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 295.61,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27358,
    "c": 0.08549,
    "h": 324.7
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#3B153E
secondary
#3E7639
accent
#D94F59
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3B153E

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

Preview Lab → · Contrast checker → · Palette generator →

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