#3A0E49#3A0E49

#3A0E49 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.108 H 315.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#3A0E49
RGBrgb(58, 14, 73)
HSLhsl(285, 68%, 17%)
HSVhsv(285, 81%, 29%)
CMYKcmyk(20.5%, 80.8%, 0%, 71.4%)
CIE-LABlab(13.80, 31.39, -26.65)
CIE-LCHlch(13.80, 41.18, 319.67°)
OKLaboklab(27.08% 0.0776 -0.0751)
OKLCHoklch(27.08% 0.108 315.9)
XYZxyz(3.1044, 1.6948, 6.4656)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E49 #1D490E
analogous
#1D0E49 #3A0E49 #490E3B
triadic
#3A0E49 #493A0E #0E493A
tetradic
#3A0E49 #491D0E #1D490E #0E3B49
square
#3A0E49 #491D0E #1D490E #0E3B49
split-complementary
#3A0E49 #3B490E #0E491D
monochromatic
#14051A #14051A #3A0E49 #63187C #8C22B0

Accessibility & contrast

On white

15.68
#3A0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E49
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E49#FFFFFF#000000##FFFFFF
##3A0E491.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0D2448
Tritanopia (blue-blind)
#391A2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e49;
/* rgb */ color: rgb(58, 14, 73);
/* oklch */ color: oklch(27.1% 0.108 315.9);
Tailwind
colors: {
  custom: {
    50: '#73527c',
    500: '#3a0e49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e49;
$custom-light: #73527c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e49",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 284.746,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27075,
    "c": 0.10795,
    "h": 315.9
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#3A0E49
secondary
#45842F
accent
#EB3D69
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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