#3A0E4C#3A0E4C

#3A0E4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.111 H 314.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4C
RGBrgb(58, 14, 76)
HSLhsl(283, 69%, 18%)
HSVhsv(283, 82%, 30%)
CMYKcmyk(23.7%, 81.6%, 0%, 70.2%)
CIE-LABlab(14.03, 32.10, -28.35)
CIE-LCHlch(14.03, 42.83, 318.55°)
OKLaboklab(27.32% 0.0771 -0.08)
OKLCHoklch(27.32% 0.111 314)
XYZxyz(3.2062, 1.7355, 7.0022)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4C #204C0E
analogous
#1B0E4C #3A0E4C #4C0E3F
triadic
#3A0E4C #4C3A0E #0E4C3A
tetradic
#3A0E4C #4C1B0E #204C0E #0E3F4C
square
#3A0E4C #4C1B0E #204C0E #0E3F4C
split-complementary
#3A0E4C #3F4C0E #0E4C1B
monochromatic
#14051A #14051A #3A0E4C #611880 #8921B3

Accessibility & contrast

On white

15.59
#3A0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E4C
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4C#FFFFFF#000000##FFFFFF
##3A0E4C1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#381C2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0e4c;
/* rgb */ color: rgb(58, 14, 76);
/* oklch */ color: oklch(27.3% 0.111 314.0);
Tailwind
colors: {
  custom: {
    50: '#73527e',
    500: '#3a0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4c;
$custom-light: #73527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4c",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 282.581,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27319,
    "c": 0.11115,
    "h": 314
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#3A0E4C
secondary
#49872F
accent
#EC3C6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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