#2A0426#2A0426

#2A0426 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.080 H 332.7°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#2A0426
RGBrgb(42, 4, 38)
HSLhsl(306, 83%, 9%)
HSVhsv(306, 90%, 16%)
CMYKcmyk(0%, 90.5%, 9.5%, 83.5%)
CIE-LABlab(6.50, 24.07, -13.10)
CIE-LCHlch(6.50, 27.40, 331.44°)
OKLaboklab(20.36% 0.0707 -0.0365)
OKLCHoklch(20.36% 0.08 332.7)
XYZxyz(1.3481, 0.7191, 1.9011)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0426 #042A08
analogous
#1B042A #2A0426 #2A0413
triadic
#2A0426 #262A04 #04262A
tetradic
#2A0426 #2A1B04 #042A08 #04132A
square
#2A0426 #2A1B04 #042A08 #04132A
split-complementary
#2A0426 #132A04 #042A1B
monochromatic
#1C0319 #1C0319 #2A0426 #620959 #9A0F8B

Accessibility & contrast

On white

18.36
#2A0426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0426
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0426#FFFFFF#000000##FFFFFF
##2A04261.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031127
Deuteranopia (green-blind)
#101625
Tritanopia (blue-blind)
#2C0714
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0426;
/* rgb */ color: rgb(42, 4, 38);
/* oklch */ color: oklch(20.4% 0.080 332.7);
Tailwind
colors: {
  custom: {
    50: '#654860',
    500: '#2a0426',
    950: '#000000',
  },
}
SCSS
$custom: #2a0426;
$custom-light: #654860;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0426",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 306.316,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20357,
    "c": 0.07953,
    "h": 332.7
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#2A0426
secondary
#1D6D25
accent
#F9442F
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2A0426

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

Preview Lab → · Contrast checker → · Palette generator →

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