#3A0D50#3A0D50

#3A0D50 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.117 H 311.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3A0D50
RGBrgb(58, 13, 80)
HSLhsl(280, 72%, 18%)
HSVhsv(280, 84%, 31%)
CMYKcmyk(27.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(14.21, 33.49, -30.81)
CIE-LCHlch(14.21, 45.50, 317.39°)
OKLaboklab(27.55% 0.0774 -0.0872)
OKLCHoklch(27.55% 0.117 311.6)
XYZxyz(3.3365, 1.7667, 7.7531)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D50 #23500D
analogous
#190D50 #3A0D50 #500D44
triadic
#3A0D50 #503A0D #0D503A
tetradic
#3A0D50 #50190D #23500D #0D4450
square
#3A0D50 #50190D #23500D #0D4450
split-complementary
#3A0D50 #44500D #0D5019
monochromatic
#13041A #14041B #3A0D50 #601685 #861EB9

Accessibility & contrast

On white

15.52
#3A0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D50
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D50#FFFFFF#000000##FFFFFF
##3A0D501.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#02254F
Tritanopia (blue-blind)
#371D2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0d50;
/* rgb */ color: rgb(58, 13, 80);
/* oklch */ color: oklch(27.5% 0.117 311.6);
Tailwind
colors: {
  custom: {
    50: '#735182',
    500: '#3a0d50',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d50;
$custom-light: #735182;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d50",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 280.299,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27549,
    "c": 0.11665,
    "h": 311.6
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#3A0D50
secondary
#4C8B2E
accent
#EF3975
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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