#2A0131#2A0131

#2A0131 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.096 H 321.5°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#2A0131
RGBrgb(42, 1, 49)
HSLhsl(291, 96%, 10%)
HSVhsv(291, 98%, 19%)
CMYKcmyk(14.3%, 98%, 0%, 80.8%)
CIE-LABlab(6.65, 28.36, -21.14)
CIE-LCHlch(6.65, 35.37, 323.30°)
OKLaboklab(20.75% 0.0751 -0.0598)
OKLCHoklch(20.75% 0.096 321.5)
XYZxyz(1.5200, 0.7358, 2.9671)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0131 #083101
analogous
#120131 #2A0131 #310120
triadic
#2A0131 #312A01 #01312A
tetradic
#2A0131 #311201 #083101 #012031
square
#2A0131 #311201 #083101 #012031
split-complementary
#2A0131 #203101 #013112
monochromatic
#1A011E #1A011E #2A0131 #5D026D #9103A9

Accessibility & contrast

On white

18.31
#2A0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0131
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0131#FFFFFF#000000##FFFFFF
##2A01311.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#2A0A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0131;
/* rgb */ color: rgb(42, 1, 49);
/* oklch */ color: oklch(20.7% 0.096 321.5);
Tailwind
colors: {
  custom: {
    50: '#664769',
    500: '#2a0131',
    950: '#000000',
  },
}
SCSS
$custom: #2a0131;
$custom-light: #664769;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0131",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 291.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20748,
    "c": 0.09595,
    "h": 321.5
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#2A0131
secondary
#257717
accent
#FF2948
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A0131

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

Preview Lab → · Contrast checker → · Palette generator →

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