#3B124B#3B124B

#3B124B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.105 H 314.9°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3B124B
RGBrgb(59, 18, 75)
HSLhsl(283, 61%, 18%)
HSVhsv(283, 76%, 29%)
CMYKcmyk(21.3%, 76%, 0%, 70.6%)
CIE-LABlab(14.79, 30.22, -26.43)
CIE-LCHlch(14.79, 40.14, 318.83°)
OKLaboklab(27.87% 0.074 -0.0744)
OKLCHoklch(27.87% 0.105 314.9)
XYZxyz(3.2897, 1.8705, 6.8430)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B124B #224B12
analogous
#1E124B #3B124B #4B123E
triadic
#3B124B #4B3B12 #124B3B
tetradic
#3B124B #4B1E12 #224B12 #123E4B
square
#3B124B #4B1E12 #224B12 #123E4B
split-complementary
#3B124B #3E4B12 #124B1E
monochromatic
#130619 #14061A #3B124B #621E7C #892AAE

Accessibility & contrast

On white

15.28
#3B124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B124B
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B124B#FFFFFF#000000##FFFFFF
##3B124B1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3A1D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b124b;
/* rgb */ color: rgb(59, 18, 75);
/* oklch */ color: oklch(27.9% 0.105 314.9);
Tailwind
colors: {
  custom: {
    50: '#73547e',
    500: '#3b124b',
    950: '#000000',
  },
}
SCSS
$custom: #3b124b;
$custom-light: #73547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b124b",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 283.158,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2787,
    "c": 0.10493,
    "h": 314.9
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#3B124B
secondary
#4B8435
accent
#E44371
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B124B

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

Preview Lab → · Contrast checker → · Palette generator →

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