#2A0129#2A0129

#2A0129 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.089 H 329.3°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#2A0129
RGBrgb(42, 1, 41)
HSLhsl(301, 95%, 8%)
HSVhsv(301, 98%, 16%)
CMYKcmyk(0%, 97.6%, 2.4%, 83.5%)
CIE-LABlab(6.09, 26.35, -16.02)
CIE-LCHlch(6.09, 30.83, 328.70°)
OKLaboklab(20.09% 0.0764 -0.0453)
OKLCHoklch(20.09% 0.089 329.3)
XYZxyz(1.3659, 0.6742, 2.1556)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0129 #012A02
analogous
#16012A #2A0129 #2A0114
triadic
#2A0129 #292A01 #01292A
tetradic
#2A0129 #2A1601 #012A02 #01142A
square
#2A0129 #2A1601 #012A02 #01142A
split-complementary
#2A0129 #142A01 #012A16
monochromatic
#1E011D #1E011D #2A0129 #660263 #A2049E

Accessibility & contrast

On white

18.51
#2A0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0129
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0129#FFFFFF#000000##FFFFFF
##2A01291.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102A
Deuteranopia (green-blind)
#0C1528
Tritanopia (blue-blind)
#2C0614
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0129;
/* rgb */ color: rgb(42, 1, 41);
/* oklch */ color: oklch(20.1% 0.089 329.3);
Tailwind
colors: {
  custom: {
    50: '#654763',
    500: '#2a0129',
    950: '#000000',
  },
}
SCSS
$custom: #2a0129;
$custom-light: #654763;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0129",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 301.463,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20087,
    "c": 0.08879,
    "h": 329.3
  },
  "luminance": 0.00674
}

Semantic roles & 50–950 ramp

primary
#2A0129
secondary
#167019
accent
#FF2E29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2A0129

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

Preview Lab → · Contrast checker → · Palette generator →

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