#2A1026#2A1026

#2A1026 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.3% C 0.056 H 333.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2A1026
RGBrgb(42, 16, 38)
HSLhsl(309, 45%, 11%)
HSVhsv(309, 62%, 16%)
CMYKcmyk(0%, 61.9%, 9.5%, 83.5%)
CIE-LABlab(9.02, 17.31, -9.18)
CIE-LCHlch(9.02, 19.60, 332.06°)
OKLaboklab(22.27% 0.0497 -0.0249)
OKLCHoklch(22.27% 0.056 333.4)
XYZxyz(1.4900, 1.0029, 1.9484)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1026 #102A14
analogous
#21102A #2A1026 #2A1019
triadic
#2A1026 #262A10 #10262A
tetradic
#2A1026 #2A2110 #102A14 #10192A
square
#2A1026 #2A2110 #102A14 #10192A
split-complementary
#2A1026 #192A10 #102A21
monochromatic
#160814 #160814 #2A1026 #56214E #833276

Accessibility & contrast

On white

17.49
#2A1026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A1026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1026
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1026#FFFFFF#000000##FFFFFF
##2A10261.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101727
Deuteranopia (green-blind)
#171B25
Tritanopia (blue-blind)
#2C1219
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a1026;
/* rgb */ color: rgb(42, 16, 38);
/* oklch */ color: oklch(22.3% 0.056 333.4);
Tailwind
colors: {
  custom: {
    50: '#644f60',
    500: '#2a1026',
    950: '#000000',
  },
}
SCSS
$custom: #2a1026;
$custom-light: #644f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1026",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 309.231,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22273,
    "c": 0.05559,
    "h": 333.4
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2A1026
secondary
#33623B
accent
#D56753
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050204
muted
#7A7879

Preview Lab

Preview with #2A1026

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

Preview Lab → · Contrast checker → · Palette generator →

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