#3A0B50#3A0B50

#3A0B50 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.119 H 311.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#3A0B50
RGBrgb(58, 11, 80)
HSLhsl(281, 76%, 18%)
HSVhsv(281, 86%, 31%)
CMYKcmyk(27.5%, 86.3%, 0%, 68.6%)
CIE-LABlab(13.93, 34.30, -31.26)
CIE-LCHlch(13.93, 46.40, 317.65°)
OKLaboklab(27.35% 0.0794 -0.0885)
OKLCHoklch(27.35% 0.119 311.9)
XYZxyz(3.3123, 1.7182, 7.7450)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B50 #21500B
analogous
#180B50 #3A0B50 #500B43
triadic
#3A0B50 #503A0B #0B503A
tetradic
#3A0B50 #50180B #21500B #0B4350
square
#3A0B50 #50180B #21500B #0B4350
split-complementary
#3A0B50 #43500B #0B5018
monochromatic
#14041B #14041B #3A0B50 #611286 #881ABC

Accessibility & contrast

On white

15.63
#3A0B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A0B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B50
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B50#FFFFFF#000000##FFFFFF
##3A0B501.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#371C2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0b50;
/* rgb */ color: rgb(58, 11, 80);
/* oklch */ color: oklch(27.4% 0.119 311.9);
Tailwind
colors: {
  custom: {
    50: '#735182',
    500: '#3a0b50',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b50;
$custom-light: #735182;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b50",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 80
  },
  "hsl": {
    "h": 280.87,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27353,
    "c": 0.11892,
    "h": 311.9
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#3A0B50
secondary
#4A8C2B
accent
#F23572
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0B50

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

Preview Lab → · Contrast checker → · Palette generator →

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