#3A0A43#3A0A43

#3A0A43 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.107 H 320.7°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#3A0A43
RGBrgb(58, 10, 67)
HSLhsl(291, 74%, 15%)
HSVhsv(291, 85%, 26%)
CMYKcmyk(13.4%, 85.1%, 0%, 73.7%)
CIE-LABlab(12.75, 31.72, -24.15)
CIE-LCHlch(12.75, 39.87, 322.72°)
OKLaboklab(26.18% 0.0827 -0.0677)
OKLCHoklch(26.18% 0.107 320.7)
XYZxyz(2.8665, 1.5220, 5.4519)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A43 #13430A
analogous
#1D0A43 #3A0A43 #430A30
triadic
#3A0A43 #433A0A #0A433A
tetradic
#3A0A43 #431D0A #13430A #0A3043
square
#3A0A43 #431D0A #13430A #0A3043
split-complementary
#3A0A43 #30430A #0A431D
monochromatic
#17041B #17041B #3A0A43 #681278 #961AAE

Accessibility & contrast

On white

16.10
#3A0A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A43
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A43#FFFFFF#000000##FFFFFF
##3A0A431.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#102342
Tritanopia (blue-blind)
#3A1626
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0a43;
/* rgb */ color: rgb(58, 10, 67);
/* oklch */ color: oklch(26.2% 0.107 320.7);
Tailwind
colors: {
  custom: {
    50: '#734f77',
    500: '#3a0a43',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a43;
$custom-light: #734f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a43",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 290.526,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26184,
    "c": 0.10689,
    "h": 320.7
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#3A0A43
secondary
#368029
accent
#F13754
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0A43

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

Preview Lab → · Contrast checker → · Palette generator →

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