#3A0E45#3A0E45

#3A0E45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.104 H 318.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#3A0E45
RGBrgb(58, 14, 69)
HSLhsl(288, 66%, 16%)
HSVhsv(288, 80%, 27%)
CMYKcmyk(15.9%, 79.7%, 0%, 72.9%)
CIE-LABlab(13.49, 30.47, -24.36)
CIE-LCHlch(13.49, 39.01, 321.36°)
OKLaboklab(26.76% 0.078 -0.0683)
OKLCHoklch(26.76% 0.104 318.8)
XYZxyz(2.9760, 1.6434, 5.7895)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E45 #19450E
analogous
#1F0E45 #3A0E45 #450E35
triadic
#3A0E45 #453A0E #0E453A
tetradic
#3A0E45 #451F0E #19450E #0E3545
square
#3A0E45 #451F0E #19450E #0E3545
split-complementary
#3A0E45 #35450E #0E451F
monochromatic
#150519 #150519 #3A0E45 #651878 #9023AB

Accessibility & contrast

On white

15.81
#3A0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E45
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E45#FFFFFF#000000##FFFFFF
##3A0E451.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#3A1928
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e45;
/* rgb */ color: rgb(58, 14, 69);
/* oklch */ color: oklch(26.8% 0.104 318.8);
Tailwind
colors: {
  custom: {
    50: '#725179',
    500: '#3a0e45',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e45;
$custom-light: #725179;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e45",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 288,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26762,
    "c": 0.10372,
    "h": 318.8
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#3A0E45
secondary
#3F802F
accent
#E93F61
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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