#2A0225#2A0225

#2A0225 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.083 H 333.8°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#2A0225
RGBrgb(42, 2, 37)
HSLhsl(308, 91%, 9%)
HSVhsv(308, 95%, 16%)
CMYKcmyk(0%, 95.2%, 11.9%, 83.5%)
CIE-LABlab(6.05, 24.87, -13.03)
CIE-LCHlch(6.05, 28.08, 332.34°)
OKLaboklab(19.96% 0.0745 -0.0367)
OKLCHoklch(19.96% 0.083 333.8)
XYZxyz(1.3105, 0.6693, 1.8101)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0225 #022A07
analogous
#1B022A #2A0225 #2A0211
triadic
#2A0225 #252A02 #02252A
tetradic
#2A0225 #2A1B02 #022A07 #02112A
square
#2A0225 #2A1B02 #022A07 #02112A
split-complementary
#2A0225 #112A02 #022A1B
monochromatic
#1D011A #1D011A #2A0225 #640558 #9F088C

Accessibility & contrast

On white

18.52
#2A0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0225
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0225#FFFFFF#000000##FFFFFF
##2A02251.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010F26
Deuteranopia (green-blind)
#0F1624
Tritanopia (blue-blind)
#2D0512
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0225;
/* rgb */ color: rgb(42, 2, 37);
/* oklch */ color: oklch(20.0% 0.083 333.8);
Tailwind
colors: {
  custom: {
    50: '#65475f',
    500: '#2a0225',
    950: '#000000',
  },
}
SCSS
$custom: #2a0225;
$custom-light: #65475f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0225",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 307.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19957,
    "c": 0.08306,
    "h": 333.8
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#2A0225
secondary
#196F23
accent
#FF4429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0225

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

Preview Lab → · Contrast checker → · Palette generator →

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