#3B124C#3B124C

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

Color values

HEX#3B124C
RGBrgb(59, 18, 76)
HSLhsl(282, 62%, 18%)
HSVhsv(282, 76%, 30%)
CMYKcmyk(22.4%, 76.3%, 0%, 70.2%)
CIE-LABlab(14.87, 30.46, -26.99)
CIE-LCHlch(14.87, 40.70, 318.45°)
OKLaboklab(27.95% 0.0739 -0.076)
OKLCHoklch(27.95% 0.106 314.2)
XYZxyz(3.3242, 1.8843, 7.0247)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B124C #234C12
analogous
#1E124C #3B124C #4C1240
triadic
#3B124C #4C3B12 #124C3B
tetradic
#3B124C #4C1E12 #234C12 #12404C
square
#3B124C #4C1E12 #234C12 #12404C
split-complementary
#3B124C #404C12 #124C1E
monochromatic
#130619 #15061B #3B124C #611E7D #8829AF

Accessibility & contrast

On white

15.25
#3B124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3B124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B124C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B124C#FFFFFF#000000##FFFFFF
##3B124C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#0F264B
Tritanopia (blue-blind)
#391E2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b124c;
/* rgb */ color: rgb(59, 18, 76);
/* oklch */ color: oklch(27.9% 0.106 314.2);
Tailwind
colors: {
  custom: {
    50: '#73547e',
    500: '#3b124c',
    950: '#000000',
  },
}
SCSS
$custom: #3b124c;
$custom-light: #73547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b124c",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 282.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27948,
    "c": 0.10605,
    "h": 314.2
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#3B124C
secondary
#4C8535
accent
#E54372
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B124C

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

Preview Lab → · Contrast checker → · Palette generator →

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