#3B154A#3B154A

#3B154A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.099 H 315.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3B154A
RGBrgb(59, 21, 74)
HSLhsl(283, 56%, 19%)
HSVhsv(283, 72%, 29%)
CMYKcmyk(20.3%, 71.6%, 0%, 71%)
CIE-LABlab(15.28, 28.41, -24.96)
CIE-LCHlch(15.28, 37.82, 318.71°)
OKLaboklab(28.2% 0.0701 -0.0701)
OKLCHoklch(28.2% 0.099 315)
XYZxyz(3.3076, 1.9607, 6.6814)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B154A #244A15
analogous
#20154A #3B154A #4A153E
triadic
#3B154A #4A3B15 #154A3B
tetradic
#3B154A #4A2015 #244A15 #153E4A
square
#3B154A #4A2015 #244A15 #153E4A
split-complementary
#3B154A #3E4A15 #154A20
monochromatic
#130718 #15071A #3B154A #61237A #8730A9

Accessibility & contrast

On white

15.08
#3B154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B154A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B154A#FFFFFF#000000##FFFFFF
##3B154A1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#3A1F2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b154a;
/* rgb */ color: rgb(59, 21, 74);
/* oklch */ color: oklch(28.2% 0.099 315.0);
Tailwind
colors: {
  custom: {
    50: '#73557d',
    500: '#3b154a',
    950: '#000000',
  },
}
SCSS
$custom: #3b154a;
$custom-light: #73557d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b154a",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 283.019,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.09913,
    "h": 315
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#3B154A
secondary
#4E8239
accent
#DF4973
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3B154A

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

Preview Lab → · Contrast checker → · Palette generator →

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