#2A0B39#2A0B39

#2A0B39 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.087 H 312.4°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2A0B39
RGBrgb(42, 11, 57)
HSLhsl(280, 68%, 13%)
HSVhsv(280, 81%, 22%)
CMYKcmyk(26.3%, 80.7%, 0%, 77.6%)
CIE-LABlab(9.21, 24.91, -22.86)
CIE-LCHlch(9.21, 33.81, 317.45°)
OKLaboklab(22.83% 0.059 -0.0645)
OKLCHoklch(22.83% 0.087 312.4)
XYZxyz(1.8129, 1.0270, 3.9728)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B39 #1A390B
analogous
#130B39 #2A0B39 #390B31
triadic
#2A0B39 #392A0B #0B392A
tetradic
#2A0B39 #39130B #1A390B #0B3139
square
#2A0B39 #39130B #1A390B #0B3139
split-complementary
#2A0B39 #31390B #0B3913
monochromatic
#13051A #13051A #2A0B39 #50156C #761FA0

Accessibility & contrast

On white

17.42
#2A0B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B39
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B39#FFFFFF#000000##FFFFFF
##2A0B391.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#281521
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0b39;
/* rgb */ color: rgb(42, 11, 57);
/* oklch */ color: oklch(22.8% 0.087 312.4);
Tailwind
colors: {
  custom: {
    50: '#664d70',
    500: '#2a0b39',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b39;
$custom-light: #664d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b39",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 280.435,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22833,
    "c": 0.08742,
    "h": 312.4
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#2A0B39
secondary
#43762A
accent
#EB3D76
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0B39

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

Preview Lab → · Contrast checker → · Palette generator →

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