#2A0826#2A0826

#2A0826 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.071 H 332.8°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2A0826
RGBrgb(42, 8, 38)
HSLhsl(307, 68%, 10%)
HSVhsv(307, 81%, 16%)
CMYKcmyk(0%, 81%, 9.5%, 83.5%)
CIE-LABlab(7.28, 21.97, -11.88)
CIE-LCHlch(7.28, 24.97, 331.60°)
OKLaboklab(20.98% 0.0635 -0.0326)
OKLCHoklch(20.98% 0.071 332.8)
XYZxyz(1.3915, 0.8060, 1.9156)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0826 #082A0C
analogous
#1D082A #2A0826 #2A0815
triadic
#2A0826 #262A08 #08262A
tetradic
#2A0826 #2A1D08 #082A0C #08152A
square
#2A0826 #2A1D08 #082A0C #08152A
split-complementary
#2A0826 #152A08 #082A1D
monochromatic
#1A0517 #1A0517 #2A0826 #5D1255 #911C83

Accessibility & contrast

On white

18.08
#2A0826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0826
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0826#FFFFFF#000000##FFFFFF
##2A08261.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#121825
Tritanopia (blue-blind)
#2C0B15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0826;
/* rgb */ color: rgb(42, 8, 38);
/* oklch */ color: oklch(21.0% 0.071 332.8);
Tailwind
colors: {
  custom: {
    50: '#654a60',
    500: '#2a0826',
    950: '#000000',
  },
}
SCSS
$custom: #2a0826;
$custom-light: #654a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0826",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 307.059,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20982,
    "c": 0.07139,
    "h": 332.8
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#2A0826
secondary
#25692D
accent
#EB513D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0826

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

Preview Lab → · Contrast checker → · Palette generator →

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