#3A0837#3A0837

#3A0837 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.098 H 330.7°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#3A0837
RGBrgb(58, 8, 55)
HSLhsl(304, 76%, 13%)
HSVhsv(304, 86%, 23%)
CMYKcmyk(0%, 86.2%, 5.2%, 77.3%)
CIE-LABlab(11.62, 30.09, -17.41)
CIE-LCHlch(11.62, 34.76, 329.95°)
OKLaboklab(25.11% 0.0856 -0.048)
OKLCHoklch(25.11% 0.098 330.7)
XYZxyz(2.5213, 1.3492, 3.7413)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0837 #083A0B
analogous
#24083A #3A0837 #3A081E
triadic
#3A0837 #373A08 #08373A
tetradic
#3A0837 #3A2408 #083A0B #081E3A
square
#3A0837 #3A2408 #083A0B #081E3A
split-complementary
#3A0837 #1E3A08 #083A24
monochromatic
#1B041A #1B041A #3A0837 #700F6A #A6179D

Accessibility & contrast

On white

16.54
#3A0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0837
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0837#FFFFFF#000000##FFFFFF
##3A08371.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#182136
Tritanopia (blue-blind)
#3D0E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0837;
/* rgb */ color: rgb(58, 8, 55);
/* oklch */ color: oklch(25.1% 0.098 330.7);
Tailwind
colors: {
  custom: {
    50: '#724e6e',
    500: '#3a0837',
    950: '#000000',
  },
}
SCSS
$custom: #3a0837;
$custom-light: #724e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0837",
  "rgb": {
    "r": 58,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 303.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25106,
    "c": 0.09814,
    "h": 330.7
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#3A0837
secondary
#25792A
accent
#F24135
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0837

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

Preview Lab → · Contrast checker → · Palette generator →

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