#2A0725#2A0725

#2A0725 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.072 H 334.1°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#2A0725
RGBrgb(42, 7, 37)
HSLhsl(309, 71%, 10%)
HSVhsv(309, 83%, 16%)
CMYKcmyk(0%, 83.3%, 11.9%, 83.5%)
CIE-LABlab(7.03, 22.28, -11.51)
CIE-LCHlch(7.03, 25.07, 332.67°)
OKLaboklab(20.76% 0.0651 -0.0317)
OKLCHoklch(20.76% 0.072 334.1)
XYZxyz(1.3648, 0.7779, 1.8282)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0725 #072A0C
analogous
#1E072A #2A0725 #2A0714
triadic
#2A0725 #252A07 #07252A
tetradic
#2A0725 #2A1E07 #072A0C #07142A
square
#2A0725 #2A1E07 #072A0C #07142A
split-complementary
#2A0725 #142A07 #072A1E
monochromatic
#1A0417 #1A0417 #2A0725 #5E1053 #931881

Accessibility & contrast

On white

18.17
#2A0725 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0725 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0725
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0725#FFFFFF#000000##FFFFFF
##2A07251.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061226
Deuteranopia (green-blind)
#121724
Tritanopia (blue-blind)
#2C0A14
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0725;
/* rgb */ color: rgb(42, 7, 37);
/* oklch */ color: oklch(20.8% 0.072 334.1);
Tailwind
colors: {
  custom: {
    50: '#654a5f',
    500: '#2a0725',
    950: '#000000',
  },
}
SCSS
$custom: #2a0725;
$custom-light: #654a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0725",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 37
  },
  "hsl": {
    "h": 308.571,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20764,
    "c": 0.07239,
    "h": 334.1
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#2A0725
secondary
#236A2D
accent
#EE533A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0725

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

Preview Lab → · Contrast checker → · Palette generator →

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