#3A0E40#3A0E40

#3A0E40 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.099 H 322.7°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#3A0E40
RGBrgb(58, 14, 64)
HSLhsl(293, 64%, 15%)
HSVhsv(293, 78%, 25%)
CMYKcmyk(9.4%, 78.1%, 0%, 74.9%)
CIE-LABlab(13.13, 29.35, -21.42)
CIE-LCHlch(13.13, 36.34, 323.88°)
OKLaboklab(26.39% 0.0783 -0.0597)
OKLCHoklch(26.39% 0.099 322.7)
XYZxyz(2.8273, 1.5839, 5.0063)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E40 #14400E
analogous
#210E40 #3A0E40 #400E2D
triadic
#3A0E40 #403A0E #0E403A
tetradic
#3A0E40 #40210E #14400E #0E2D40
square
#3A0E40 #40210E #14400E #0E2D40
split-complementary
#3A0E40 #2D400E #0E4021
monochromatic
#170519 #170519 #3A0E40 #681972 #9524A4

Accessibility & contrast

On white

15.95
#3A0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E40
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E40#FFFFFF#000000##FFFFFF
##3A0E401.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#15243F
Tritanopia (blue-blind)
#3B1725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0e40;
/* rgb */ color: rgb(58, 14, 64);
/* oklch */ color: oklch(26.4% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#725175',
    500: '#3a0e40',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e40;
$custom-light: #725175;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e40",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 292.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26389,
    "c": 0.09851,
    "h": 322.7
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#3A0E40
secondary
#387B2F
accent
#E74155
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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