#2A0632#2A0632

#2A0632 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 319.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#2A0632
RGBrgb(42, 6, 50)
HSLhsl(289, 79%, 11%)
HSVhsv(289, 88%, 20%)
CMYKcmyk(16%, 88%, 0%, 80.4%)
CIE-LABlab(7.70, 25.85, -20.19)
CIE-LCHlch(7.70, 32.80, 322.02°)
OKLaboklab(21.58% 0.0667 -0.0566)
OKLCHoklch(21.58% 0.088 319.7)
XYZxyz(1.5956, 0.8529, 3.0976)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0632 #0E3206
analogous
#140632 #2A0632 #320624
triadic
#2A0632 #322A06 #06322A
tetradic
#2A0632 #321406 #0E3206 #062432
square
#2A0632 #321406 #0E3206 #062432
split-complementary
#2A0632 #243206 #063214
monochromatic
#17031B #17031B #2A0632 #580D69 #86139F

Accessibility & contrast

On white

17.94
#2A0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0632
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0632#FFFFFF#000000##FFFFFF
##2A06321.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#091831
Tritanopia (blue-blind)
#2A0F1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0632;
/* rgb */ color: rgb(42, 6, 50);
/* oklch */ color: oklch(21.6% 0.088 319.7);
Tailwind
colors: {
  custom: {
    50: '#664a6a',
    500: '#2a0632',
    950: '#000000',
  },
}
SCSS
$custom: #2a0632;
$custom-light: #664a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0632",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 289.091,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21575,
    "c": 0.08753,
    "h": 319.7
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#2A0632
secondary
#307321
accent
#F53356
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0632

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

Preview Lab → · Contrast checker → · Palette generator →

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