#2A0933#2A0933

#2A0933 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.084 H 318.2°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2A0933
RGBrgb(42, 9, 51)
HSLhsl(287, 70%, 12%)
HSVhsv(287, 82%, 20%)
CMYKcmyk(17.6%, 82.4%, 0%, 80%)
CIE-LABlab(8.37, 24.44, -19.86)
CIE-LCHlch(8.37, 31.49, 320.90°)
OKLaboklab(22.07% 0.0623 -0.0557)
OKLCHoklch(22.07% 0.084 318.2)
XYZxyz(1.6500, 0.9267, 3.2233)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0933 #123309
analogous
#150933 #2A0933 #330927
triadic
#2A0933 #332A09 #09332A
tetradic
#2A0933 #331509 #123309 #092733
square
#2A0933 #331509 #123309 #092733
split-complementary
#2A0933 #273309 #093315
monochromatic
#15051A #15051A #2A0933 #551267 #801B9B

Accessibility & contrast

On white

17.72
#2A0933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0933
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0933#FFFFFF#000000##FFFFFF
##2A09331.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0933;
/* rgb */ color: rgb(42, 9, 51);
/* oklch */ color: oklch(22.1% 0.084 318.2);
Tailwind
colors: {
  custom: {
    50: '#654b6b',
    500: '#2a0933',
    950: '#000000',
  },
}
SCSS
$custom: #2a0933;
$custom-light: #654b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0933",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 287.143,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22074,
    "c": 0.08354,
    "h": 318.2
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#2A0933
secondary
#377127
accent
#ED3B61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0933

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

Preview Lab → · Contrast checker → · Palette generator →

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