#3A0D37#3A0D37

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

Color values

HEX#3A0D37
RGBrgb(58, 13, 55)
HSLhsl(304, 63%, 14%)
HSVhsv(304, 78%, 23%)
CMYKcmyk(0%, 77.6%, 5.2%, 77.3%)
CIE-LABlab(12.37, 27.94, -16.21)
CIE-LCHlch(12.37, 32.30, 329.87°)
OKLaboklab(25.65% 0.0794 -0.0446)
OKLCHoklch(25.65% 0.091 330.7)
XYZxyz(2.5784, 1.4634, 3.7604)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D37 #0D3A10
analogous
#270D3A #3A0D37 #3A0D21
triadic
#3A0D37 #373A0D #0D373A
tetradic
#3A0D37 #3A270D #0D3A10 #0D213A
square
#3A0D37 #3A270D #0D3A10 #0D213A
split-complementary
#3A0D37 #213A0D #0D3A27
monochromatic
#190618 #190618 #3A0D37 #6C1866 #9E2396

Accessibility & contrast

On white

16.25
#3A0D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D37
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D37#FFFFFF#000000##FFFFFF
##3A0D371.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#1A2236
Tritanopia (blue-blind)
#3D1220
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0d37;
/* rgb */ color: rgb(58, 13, 55);
/* oklch */ color: oklch(25.7% 0.091 330.7);
Tailwind
colors: {
  custom: {
    50: '#72506e',
    500: '#3a0d37',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d37;
$custom-light: #72506e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d37",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 304,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25651,
    "c": 0.09106,
    "h": 330.7
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#3A0D37
secondary
#2D7632
accent
#E64C41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0D37

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

Preview Lab → · Contrast checker → · Palette generator →

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