#3A0E46#3A0E46

#3A0E46 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.105 H 318.1°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3A0E46
RGBrgb(58, 14, 70)
HSLhsl(287, 67%, 16%)
HSVhsv(287, 80%, 27%)
CMYKcmyk(17.1%, 80%, 0%, 72.5%)
CIE-LABlab(13.57, 30.70, -24.94)
CIE-LCHlch(13.57, 39.55, 320.91°)
OKLaboklab(26.84% 0.0779 -0.07)
OKLCHoklch(26.84% 0.105 318.1)
XYZxyz(3.0073, 1.6559, 5.9544)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E46 #1A460E
analogous
#1E0E46 #3A0E46 #460E36
triadic
#3A0E46 #463A0E #0E463A
tetradic
#3A0E46 #461E0E #1A460E #0E3646
square
#3A0E46 #461E0E #1A460E #0E3646
split-complementary
#3A0E46 #36460E #0E461E
monochromatic
#15051A #15051A #3A0E46 #641879 #8F22AC

Accessibility & contrast

On white

15.78
#3A0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E46
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E46#FFFFFF#000000##FFFFFF
##3A0E461.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#3A1929
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e46;
/* rgb */ color: rgb(58, 14, 70);
/* oklch */ color: oklch(26.8% 0.105 318.1);
Tailwind
colors: {
  custom: {
    50: '#73517a',
    500: '#3a0e46',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e46;
$custom-light: #73517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e46",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 287.143,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26839,
    "c": 0.10477,
    "h": 318.1
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#3A0E46
secondary
#40812F
accent
#EA3E63
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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