#3A0E44#3A0E44

#3A0E44 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.103 H 319.5°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#3A0E44
RGBrgb(58, 14, 68)
HSLhsl(289, 66%, 16%)
HSVhsv(289, 79%, 27%)
CMYKcmyk(14.7%, 79.4%, 0%, 73.3%)
CIE-LABlab(13.42, 30.24, -23.78)
CIE-LCHlch(13.42, 38.47, 321.83°)
OKLaboklab(26.69% 0.0781 -0.0666)
OKLCHoklch(26.69% 0.103 319.5)
XYZxyz(2.9452, 1.6311, 5.6274)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E44 #18440E
analogous
#1F0E44 #3A0E44 #440E33
triadic
#3A0E44 #443A0E #0E443A
tetradic
#3A0E44 #441F0E #18440E #0E3344
square
#3A0E44 #441F0E #18440E #0E3344
split-complementary
#3A0E44 #33440E #0E441F
monochromatic
#160519 #160519 #3A0E44 #651877 #9123AA

Accessibility & contrast

On white

15.83
#3A0E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E44
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E44#FFFFFF#000000##FFFFFF
##3A0E441.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#3A1828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0e44;
/* rgb */ color: rgb(58, 14, 68);
/* oklch */ color: oklch(26.7% 0.103 319.5);
Tailwind
colors: {
  custom: {
    50: '#725178',
    500: '#3a0e44',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e44;
$custom-light: #725178;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e44",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 288.889,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26686,
    "c": 0.10267,
    "h": 319.5
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#3A0E44
secondary
#3E7F2F
accent
#E93F5E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E44

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

Preview Lab → · Contrast checker → · Palette generator →

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