#3A0B33#3A0B33

#3A0B33 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.090 H 334.6°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#3A0B33
RGBrgb(58, 11, 51)
HSLhsl(309, 68%, 14%)
HSVhsv(309, 81%, 23%)
CMYKcmyk(0%, 81%, 12.1%, 77.3%)
CIE-LABlab(11.81, 28.07, -14.20)
CIE-LCHlch(11.81, 31.46, 333.16°)
OKLaboklab(25.17% 0.0816 -0.0388)
OKLCHoklch(25.17% 0.09 334.6)
XYZxyz(2.4622, 1.3781, 3.2677)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B33 #0B3A12
analogous
#290B3A #3A0B33 #3A0B1B
triadic
#3A0B33 #333A0B #0B333A
tetradic
#3A0B33 #3A290B #0B3A12 #0B1B3A
square
#3A0B33 #3A290B #0B3A12 #0B1B3A
split-complementary
#3A0B33 #1B3A0B #0B3A29
monochromatic
#1A0517 #1A0517 #3A0B33 #6D1560 #A11F8D

Accessibility & contrast

On white

16.46
#3A0B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A0B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B33
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B33#FFFFFF#000000##FFFFFF
##3A0B331.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B34
Deuteranopia (green-blind)
#1B2232
Tritanopia (blue-blind)
#3D0F1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0b33;
/* rgb */ color: rgb(58, 11, 51);
/* oklch */ color: oklch(25.2% 0.090 334.6);
Tailwind
colors: {
  custom: {
    50: '#724f6a',
    500: '#3a0b33',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b33;
$custom-light: #724f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b33",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 308.936,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25165,
    "c": 0.09038,
    "h": 334.6
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#3A0B33
secondary
#2A7735
accent
#EB573D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0B33

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

Preview Lab → · Contrast checker → · Palette generator →

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