#2A0B35#2A0B35

#2A0B35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.083 H 315.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2A0B35
RGBrgb(42, 11, 53)
HSLhsl(284, 66%, 13%)
HSVhsv(284, 79%, 21%)
CMYKcmyk(20.8%, 79.2%, 0%, 79.2%)
CIE-LABlab(8.90, 23.88, -20.47)
CIE-LCHlch(8.90, 31.45, 319.40°)
OKLaboklab(22.5% 0.0594 -0.0575)
OKLCHoklch(22.5% 0.083 315.9)
XYZxyz(1.7170, 0.9887, 3.4679)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B35 #16350B
analogous
#150B35 #2A0B35 #350B2B
triadic
#2A0B35 #352A0B #0B352A
tetradic
#2A0B35 #35150B #16350B #0B2B35
square
#2A0B35 #35150B #16350B #0B2B35
split-complementary
#2A0B35 #2B350B #0B3515
monochromatic
#140519 #140519 #2A0B35 #521668 #7A209A

Accessibility & contrast

On white

17.53
#2A0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B35
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B35#FFFFFF#000000##FFFFFF
##2A0B351.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0b35;
/* rgb */ color: rgb(42, 11, 53);
/* oklch */ color: oklch(22.5% 0.083 315.9);
Tailwind
colors: {
  custom: {
    50: '#654d6c',
    500: '#2a0b35',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b35;
$custom-light: #654d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b35",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 284.286,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22504,
    "c": 0.08266,
    "h": 315.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#2A0B35
secondary
#3D722A
accent
#E93F6C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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