#2A0935#2A0935

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

Color values

HEX#2A0935
RGBrgb(42, 9, 53)
HSLhsl(285, 71%, 12%)
HSVhsv(285, 83%, 21%)
CMYKcmyk(20.8%, 83%, 0%, 79.2%)
CIE-LABlab(8.52, 24.93, -21.07)
CIE-LCHlch(8.52, 32.64, 319.80°)
OKLaboklab(22.24% 0.0621 -0.0593)
OKLCHoklch(22.24% 0.086 316.3)
XYZxyz(1.6950, 0.9447, 3.4605)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0935 #143509
analogous
#140935 #2A0935 #35092A
triadic
#2A0935 #352A09 #09352A
tetradic
#2A0935 #351409 #143509 #092A35
square
#2A0935 #351409 #143509 #092A35
split-complementary
#2A0935 #2A3509 #093514
monochromatic
#15041A #15041A #2A0935 #531269 #7D1B9E

Accessibility & contrast

On white

17.66
#2A0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0935
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0935#FFFFFF#000000##FFFFFF
##2A09351.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#091934
Tritanopia (blue-blind)
#29121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0935;
/* rgb */ color: rgb(42, 9, 53);
/* oklch */ color: oklch(22.2% 0.086 316.3);
Tailwind
colors: {
  custom: {
    50: '#664c6c',
    500: '#2a0935',
    950: '#000000',
  },
}
SCSS
$custom: #2a0935;
$custom-light: #664c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0935",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 285,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22236,
    "c": 0.08581,
    "h": 316.3
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#2A0935
secondary
#3A7327
accent
#EE3A67
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0935

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

Preview Lab → · Contrast checker → · Palette generator →

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