#2A0A35#2A0A35

#2A0A35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.084 H 316.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2A0A35
RGBrgb(42, 10, 53)
HSLhsl(285, 68%, 12%)
HSVhsv(285, 81%, 21%)
CMYKcmyk(20.8%, 81.1%, 0%, 79.2%)
CIE-LABlab(8.71, 24.41, -20.77)
CIE-LCHlch(8.71, 32.05, 319.60°)
OKLaboklab(22.37% 0.0607 -0.0584)
OKLCHoklch(22.37% 0.084 316.1)
XYZxyz(1.7059, 0.9664, 3.4642)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A35 #15350A
analogous
#140A35 #2A0A35 #350A2B
triadic
#2A0A35 #352A0A #0A352A
tetradic
#2A0A35 #35140A #15350A #0A2B35
square
#2A0A35 #35140A #15350A #0A2B35
split-complementary
#2A0A35 #2B350A #0A3514
monochromatic
#14051A #14051A #2A0A35 #531468 #7C1D9C

Accessibility & contrast

On white

17.60
#2A0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A35
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A35#FFFFFF#000000##FFFFFF
##2A0A351.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#29121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0a35;
/* rgb */ color: rgb(42, 10, 53);
/* oklch */ color: oklch(22.4% 0.084 316.1);
Tailwind
colors: {
  custom: {
    50: '#654c6c',
    500: '#2a0a35',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a35;
$custom-light: #654c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a35",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 284.651,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.08423,
    "h": 316.1
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#2A0A35
secondary
#3B7228
accent
#EB3D69
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0A35

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

Preview Lab → · Contrast checker → · Palette generator →

#2A0A35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva