#2A0934#2A0934

#2A0934 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.085 H 317.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2A0934
RGBrgb(42, 9, 52)
HSLhsl(286, 70%, 12%)
HSVhsv(286, 83%, 20%)
CMYKcmyk(19.2%, 82.7%, 0%, 79.6%)
CIE-LABlab(8.44, 24.69, -20.47)
CIE-LCHlch(8.44, 32.07, 320.34°)
OKLaboklab(22.16% 0.0622 -0.0575)
OKLCHoklch(22.16% 0.085 317.2)
XYZxyz(1.6723, 0.9356, 3.3407)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0934 #133409
analogous
#150934 #2A0934 #340929
triadic
#2A0934 #342A09 #09342A
tetradic
#2A0934 #341509 #133409 #092934
square
#2A0934 #341509 #133409 #092934
split-complementary
#2A0934 #293409 #093415
monochromatic
#15051A #15051A #2A0934 #541268 #7E1B9C

Accessibility & contrast

On white

17.69
#2A0934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0934
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0934#FFFFFF#000000##FFFFFF
##2A09341.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0A1933
Tritanopia (blue-blind)
#2A111D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0934;
/* rgb */ color: rgb(42, 9, 52);
/* oklch */ color: oklch(22.2% 0.085 317.2);
Tailwind
colors: {
  custom: {
    50: '#654b6c',
    500: '#2a0934',
    950: '#000000',
  },
}
SCSS
$custom: #2a0934;
$custom-light: #654b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0934",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 286.047,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22155,
    "c": 0.08467,
    "h": 317.2
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#2A0934
secondary
#387227
accent
#ED3B64
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0934

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

Preview Lab → · Contrast checker → · Palette generator →

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