#2A0124#2A0124

#2A0124 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.085 H 334.9°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#2A0124
RGBrgb(42, 1, 36)
HSLhsl(309, 95%, 8%)
HSVhsv(309, 98%, 16%)
CMYKcmyk(0%, 97.6%, 14.3%, 83.5%)
CIE-LABlab(5.79, 25.15, -12.65)
CIE-LCHlch(5.79, 28.15, 333.29°)
OKLaboklab(19.72% 0.0766 -0.0358)
OKLCHoklch(19.72% 0.085 334.9)
XYZxyz(1.2842, 0.6414, 1.7249)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0124 #012A07
analogous
#1B012A #2A0124 #2A010F
triadic
#2A0124 #242A01 #01242A
tetradic
#2A0124 #2A1B01 #012A07 #010F2A
square
#2A0124 #2A1B01 #012A07 #010F2A
split-complementary
#2A0124 #0F2A01 #012A1B
monochromatic
#1E011A #1E011A #2A0124 #660257 #A2048A

Accessibility & contrast

On white

18.61
#2A0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0124
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0124#FFFFFF#000000##FFFFFF
##2A01241.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010F25
Deuteranopia (green-blind)
#0F1523
Tritanopia (blue-blind)
#2D0411
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0124;
/* rgb */ color: rgb(42, 1, 36);
/* oklch */ color: oklch(19.7% 0.085 334.9);
Tailwind
colors: {
  custom: {
    50: '#65465e',
    500: '#2a0124',
    950: '#000000',
  },
}
SCSS
$custom: #2a0124;
$custom-light: #65465e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0124",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 308.78,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19716,
    "c": 0.08454,
    "h": 334.9
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2A0124
secondary
#167024
accent
#FF4829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0124

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

Preview Lab → · Contrast checker → · Palette generator →

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