#3A0E48#3A0E48

#3A0E48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.107 H 316.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#3A0E48
RGBrgb(58, 14, 72)
HSLhsl(286, 67%, 17%)
HSVhsv(286, 81%, 28%)
CMYKcmyk(19.4%, 80.6%, 0%, 71.8%)
CIE-LABlab(13.72, 31.16, -26.08)
CIE-LCHlch(13.72, 40.64, 320.07°)
OKLaboklab(27% 0.0777 -0.0734)
OKLCHoklch(27% 0.107 316.6)
XYZxyz(3.0715, 1.6816, 6.2924)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E48 #1C480E
analogous
#1D0E48 #3A0E48 #480E39
triadic
#3A0E48 #483A0E #0E483A
tetradic
#3A0E48 #481D0E #1C480E #0E3948
square
#3A0E48 #481D0E #1C480E #0E3948
split-complementary
#3A0E48 #39480E #0E481D
monochromatic
#15051A #15051A #3A0E48 #63187B #8D22AE

Accessibility & contrast

On white

15.72
#3A0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E48
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E48#FFFFFF#000000##FFFFFF
##3A0E481.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#0E2447
Tritanopia (blue-blind)
#391A2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e48;
/* rgb */ color: rgb(58, 14, 72);
/* oklch */ color: oklch(27.0% 0.107 316.6);
Tailwind
colors: {
  custom: {
    50: '#73517b',
    500: '#3a0e48',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e48;
$custom-light: #73517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e48",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 285.517,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26996,
    "c": 0.10689,
    "h": 316.6
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#3A0E48
secondary
#43832F
accent
#EA3D67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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