#3A0333#3A0333

#3A0333 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.102 H 334.3°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#3A0333
RGBrgb(58, 3, 51)
HSLhsl(308, 90%, 12%)
HSVhsv(308, 95%, 23%)
CMYKcmyk(0%, 94.8%, 12.1%, 77.3%)
CIE-LABlab(10.59, 31.58, -16.13)
CIE-LCHlch(10.59, 35.46, 332.95°)
OKLaboklab(24.29% 0.092 -0.0443)
OKLCHoklch(24.29% 0.102 334.3)
XYZxyz(2.3751, 1.2039, 3.2386)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0333 #033A0A
analogous
#26033A #3A0333 #3A0318
triadic
#3A0333 #333A03 #03333A
tetradic
#3A0333 #3A2603 #033A0A #03183A
square
#3A0333 #3A2603 #033A0A #03183A
split-complementary
#3A0333 #183A03 #033A26
monochromatic
#1D021A #1D021A #3A0333 #740666 #AE0999

Accessibility & contrast

On white

16.92
#3A0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3A0333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0333
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0333#FFFFFF#000000##FFFFFF
##3A03331.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021734
Deuteranopia (green-blind)
#171F32
Tritanopia (blue-blind)
#3D081B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0333;
/* rgb */ color: rgb(58, 3, 51);
/* oklch */ color: oklch(24.3% 0.102 334.3);
Tailwind
colors: {
  custom: {
    50: '#734b6b',
    500: '#3a0333',
    950: '#000000',
  },
}
SCSS
$custom: #3a0333;
$custom-light: #734b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0333",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 307.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24287,
    "c": 0.10209,
    "h": 334.3
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#3A0333
secondary
#1C7D28
accent
#FF4429
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0333

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

Preview Lab → · Contrast checker → · Palette generator →

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