#2A0C35#2A0C35

#2A0C35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.081 H 315.7°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2A0C35
RGBrgb(42, 12, 53)
HSLhsl(284, 63%, 13%)
HSVhsv(284, 77%, 21%)
CMYKcmyk(20.8%, 77.4%, 0%, 79.2%)
CIE-LABlab(9.09, 23.33, -20.16)
CIE-LCHlch(9.09, 30.83, 319.18°)
OKLaboklab(22.65% 0.058 -0.0566)
OKLCHoklch(22.65% 0.081 315.7)
XYZxyz(1.7288, 1.0123, 3.4718)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0C35 #17350C
analogous
#150C35 #2A0C35 #350C2B
triadic
#2A0C35 #352A0C #0C352A
tetradic
#2A0C35 #35150C #17350C #0C2B35
square
#2A0C35 #35150C #17350C #0C2B35
split-complementary
#2A0C35 #2B350C #0C3515
monochromatic
#140619 #140619 #2A0C35 #521767 #792399

Accessibility & contrast

On white

17.47
#2A0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A0C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0C35
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0C35#FFFFFF#000000##FFFFFF
##2A0C351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#29141F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0c35;
/* rgb */ color: rgb(42, 12, 53);
/* oklch */ color: oklch(22.6% 0.081 315.7);
Tailwind
colors: {
  custom: {
    50: '#654d6c',
    500: '#2a0c35',
    950: '#000000',
  },
}
SCSS
$custom: #2a0c35;
$custom-light: #654d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0c35",
  "rgb": {
    "r": 42,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 283.902,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22646,
    "c": 0.081,
    "h": 315.7
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#2A0C35
secondary
#3E712C
accent
#E6426E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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