#3A124B#3A124B

#3A124B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.104 H 314.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#3A124B
RGBrgb(58, 18, 75)
HSLhsl(282, 61%, 18%)
HSVhsv(282, 76%, 29%)
CMYKcmyk(22.7%, 76%, 0%, 70.6%)
CIE-LABlab(14.63, 29.96, -26.70)
CIE-LCHlch(14.63, 40.14, 318.29°)
OKLaboklab(27.72% 0.0725 -0.0752)
OKLCHoklch(27.72% 0.105 314)
XYZxyz(3.2310, 1.8403, 6.8403)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A124B #234B12
analogous
#1D124B #3A124B #4B123F
triadic
#3A124B #4B3A12 #124B3A
tetradic
#3A124B #4B1D12 #234B12 #123F4B
square
#3A124B #4B1D12 #234B12 #123F4B
split-complementary
#3A124B #3F4B12 #124B1D
monochromatic
#130619 #14061A #3A124B #601E7C #862AAE

Accessibility & contrast

On white

15.35
#3A124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A124B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A124B#FFFFFF#000000##FFFFFF
##3A124B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#0F264A
Tritanopia (blue-blind)
#381E2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a124b;
/* rgb */ color: rgb(58, 18, 75);
/* oklch */ color: oklch(27.7% 0.104 314.0);
Tailwind
colors: {
  custom: {
    50: '#73547e',
    500: '#3a124b',
    950: '#000000',
  },
}
SCSS
$custom: #3a124b;
$custom-light: #73547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a124b",
  "rgb": {
    "r": 58,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 282.105,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27716,
    "c": 0.1045,
    "h": 314
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#3A124B
secondary
#4C8435
accent
#E44373
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A124B

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

Preview Lab → · Contrast checker → · Palette generator →

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