#3A0E37#3A0E37

#3A0E37 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.090 H 330.7°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#3A0E37
RGBrgb(58, 14, 55)
HSLhsl(304, 61%, 14%)
HSVhsv(304, 76%, 23%)
CMYKcmyk(0%, 75.9%, 5.2%, 77.3%)
CIE-LABlab(12.54, 27.46, -15.95)
CIE-LCHlch(12.54, 31.76, 329.86°)
OKLaboklab(25.77% 0.078 -0.0438)
OKLCHoklch(25.77% 0.09 330.7)
XYZxyz(2.5915, 1.4896, 3.7647)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E37 #0E3A11
analogous
#270E3A #3A0E37 #3A0E21
triadic
#3A0E37 #373A0E #0E373A
tetradic
#3A0E37 #3A270E #0E3A11 #0E213A
square
#3A0E37 #3A270E #0E3A11 #0E213A
split-complementary
#3A0E37 #213A0E #0E3A27
monochromatic
#190617 #190617 #3A0E37 #6B1A66 #9D2695

Accessibility & contrast

On white

16.18
#3A0E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E37
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E37#FFFFFF#000000##FFFFFF
##3A0E371.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D38
Deuteranopia (green-blind)
#1A2336
Tritanopia (blue-blind)
#3D1321
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0e37;
/* rgb */ color: rgb(58, 14, 55);
/* oklch */ color: oklch(25.8% 0.090 330.7);
Tailwind
colors: {
  custom: {
    50: '#72516e',
    500: '#3a0e37',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e37;
$custom-light: #72516e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e37",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 304.091,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25773,
    "c": 0.08951,
    "h": 330.7
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#3A0E37
secondary
#2F7534
accent
#E44F44
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0E37

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

Preview Lab → · Contrast checker → · Palette generator →

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