#2A0631#2A0631

#2A0631 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.086 H 320.6°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2A0631
RGBrgb(42, 6, 49)
HSLhsl(290, 78%, 11%)
HSVhsv(290, 88%, 19%)
CMYKcmyk(14.3%, 87.8%, 0%, 80.8%)
CIE-LABlab(7.63, 25.62, -19.57)
CIE-LCHlch(7.63, 32.24, 322.62°)
OKLaboklab(21.49% 0.0669 -0.0549)
OKLCHoklch(21.49% 0.086 320.6)
XYZxyz(1.5743, 0.8443, 2.9852)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0631 #0D3106
analogous
#140631 #2A0631 #310622
triadic
#2A0631 #312A06 #06312A
tetradic
#2A0631 #311406 #0D3106 #062231
square
#2A0631 #311406 #0D3106 #062231
split-complementary
#2A0631 #223106 #063114
monochromatic
#17031B #17031B #2A0631 #590D68 #87139E

Accessibility & contrast

On white

17.97
#2A0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0631
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0631#FFFFFF#000000##FFFFFF
##2A06311.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#2A0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0631;
/* rgb */ color: rgb(42, 6, 49);
/* oklch */ color: oklch(21.5% 0.086 320.6);
Tailwind
colors: {
  custom: {
    50: '#664a69',
    500: '#2a0631',
    950: '#000000',
  },
}
SCSS
$custom: #2a0631;
$custom-light: #664a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0631",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 290.233,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21493,
    "c": 0.08648,
    "h": 320.6
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#2A0631
secondary
#2E7221
accent
#F53353
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0631

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

Preview Lab → · Contrast checker → · Palette generator →

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