#3A0A44#3A0A44

#3A0A44 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.108 H 320.0°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#3A0A44
RGBrgb(58, 10, 68)
HSLhsl(290, 74%, 15%)
HSVhsv(290, 85%, 27%)
CMYKcmyk(14.7%, 85.3%, 0%, 73.3%)
CIE-LABlab(12.82, 31.94, -24.73)
CIE-LCHlch(12.82, 40.40, 322.25°)
OKLaboklab(26.26% 0.0826 -0.0694)
OKLCHoklch(26.26% 0.108 320)
XYZxyz(2.8967, 1.5341, 5.6113)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A44 #14440A
analogous
#1D0A44 #3A0A44 #440A31
triadic
#3A0A44 #443A0A #0A443A
tetradic
#3A0A44 #441D0A #14440A #0A3144
square
#3A0A44 #441D0A #14440A #0A3144
split-complementary
#3A0A44 #31440A #0A441D
monochromatic
#17041B #17041B #3A0A44 #681279 #951AAF

Accessibility & contrast

On white

16.07
#3A0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3A0A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A44
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A44#FFFFFF#000000##FFFFFF
##3A0A441.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#0F2343
Tritanopia (blue-blind)
#3A1627
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0a44;
/* rgb */ color: rgb(58, 10, 68);
/* oklch */ color: oklch(26.3% 0.108 320.0);
Tailwind
colors: {
  custom: {
    50: '#734f78',
    500: '#3a0a44',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a44;
$custom-light: #734f78;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a44",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 289.655,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26262,
    "c": 0.10789,
    "h": 320
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#3A0A44
secondary
#388129
accent
#F13757
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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