#3B154D#3B154D

#3B154D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.103 H 313.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#3B154D
RGBrgb(59, 21, 77)
HSLhsl(281, 57%, 19%)
HSVhsv(281, 73%, 30%)
CMYKcmyk(23.4%, 72.7%, 0%, 69.8%)
CIE-LABlab(15.50, 29.16, -26.67)
CIE-LCHlch(15.50, 39.51, 317.55°)
OKLaboklab(28.42% 0.0699 -0.0751)
OKLCHoklch(28.42% 0.103 313)
XYZxyz(3.4111, 2.0021, 7.2265)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B154D #274D15
analogous
#1F154D #3B154D #4D1543
triadic
#3B154D #4D3B15 #154D3B
tetradic
#3B154D #4D1F15 #274D15 #15434D
square
#3B154D #4D1F15 #274D15 #15434D
split-complementary
#3B154D #434D15 #154D1F
monochromatic
#120718 #16081D #3B154D #60227D #852FAD

Accessibility & contrast

On white

15.00
#3B154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3B154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B154D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B154D#FFFFFF#000000##FFFFFF
##3B154D1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#11284C
Tritanopia (blue-blind)
#39202F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3b154d;
/* rgb */ color: rgb(59, 21, 77);
/* oklch */ color: oklch(28.4% 0.103 313.0);
Tailwind
colors: {
  custom: {
    50: '#73567f',
    500: '#3b154d',
    950: '#000000',
  },
}
SCSS
$custom: #3b154d;
$custom-light: #73567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b154d",
  "rgb": {
    "r": 59,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 280.714,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28424,
    "c": 0.10263,
    "h": 313
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#3B154D
secondary
#518539
accent
#E04779
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B154D

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

Preview Lab → · Contrast checker → · Palette generator →

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