#3A0B4E#3A0B4E

#3A0B4E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.117 H 313.1°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3A0B4E
RGBrgb(58, 11, 78)
HSLhsl(282, 75%, 17%)
HSVhsv(282, 86%, 31%)
CMYKcmyk(25.6%, 85.9%, 0%, 69.4%)
CIE-LABlab(13.76, 33.83, -30.16)
CIE-LCHlch(13.76, 45.32, 318.28°)
OKLaboklab(27.18% 0.0798 -0.0853)
OKLCHoklch(27.18% 0.117 313.1)
XYZxyz(3.2395, 1.6890, 7.3616)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B4E #1F4E0B
analogous
#190B4E #3A0B4E #4E0B40
triadic
#3A0B4E #4E3A0B #0B4E3A
tetradic
#3A0B4E #4E190B #1F4E0B #0B404E
square
#3A0B4E #4E190B #1F4E0B #0B404E
split-complementary
#3A0B4E #404E0B #0B4E19
monochromatic
#14041B #14041B #3A0B4E #621384 #8A1AB9

Accessibility & contrast

On white

15.70
#3A0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A0B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B4E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B4E#FFFFFF#000000##FFFFFF
##3A0B4E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#03244D
Tritanopia (blue-blind)
#381B2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0b4e;
/* rgb */ color: rgb(58, 11, 78);
/* oklch */ color: oklch(27.2% 0.117 313.1);
Tailwind
colors: {
  custom: {
    50: '#735080',
    500: '#3a0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b4e;
$custom-light: #735080;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b4e",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 282.09,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.11686,
    "h": 313.1
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#3A0B4E
secondary
#478A2B
accent
#F2366E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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