#3B124A#3B124A

#3B124A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.104 H 315.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#3B124A
RGBrgb(59, 18, 74)
HSLhsl(284, 61%, 18%)
HSVhsv(284, 76%, 29%)
CMYKcmyk(20.3%, 75.7%, 0%, 71%)
CIE-LABlab(14.72, 29.98, -25.86)
CIE-LCHlch(14.72, 39.59, 319.22°)
OKLaboklab(27.79% 0.0741 -0.0727)
OKLCHoklch(27.79% 0.104 315.5)
XYZxyz(3.2558, 1.8570, 6.6642)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B124A #214A12
analogous
#1F124A #3B124A #4A123D
triadic
#3B124A #4A3B12 #124A3B
tetradic
#3B124A #4A1F12 #214A12 #123D4A
square
#3B124A #4A1F12 #214A12 #123D4A
split-complementary
#3B124A #3D4A12 #124A1F
monochromatic
#140619 #140619 #3B124A #621E7B #892AAC

Accessibility & contrast

On white

15.31
#3B124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B124A
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B124A#FFFFFF#000000##FFFFFF
##3B124A1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#3A1D2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b124a;
/* rgb */ color: rgb(59, 18, 74);
/* oklch */ color: oklch(27.8% 0.104 315.5);
Tailwind
colors: {
  custom: {
    50: '#73547d',
    500: '#3b124a',
    950: '#000000',
  },
}
SCSS
$custom: #3b124a;
$custom-light: #73547d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b124a",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 283.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27793,
    "c": 0.10381,
    "h": 315.5
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#3B124A
secondary
#4A8335
accent
#E4446F
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3B124A

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

Preview Lab → · Contrast checker → · Palette generator →

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