#2A0733#2A0733

#2A0733 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.087 H 318.5°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2A0733
RGBrgb(42, 7, 51)
HSLhsl(288, 76%, 11%)
HSVhsv(288, 86%, 20%)
CMYKcmyk(17.6%, 86.3%, 0%, 80%)
CIE-LABlab(7.98, 25.54, -20.48)
CIE-LCHlch(7.98, 32.74, 321.27°)
OKLaboklab(21.8% 0.0651 -0.0575)
OKLCHoklch(21.8% 0.087 318.5)
XYZxyz(1.6283, 0.8833, 3.2160)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0733 #103307
analogous
#140733 #2A0733 #330726
triadic
#2A0733 #332A07 #07332A
tetradic
#2A0733 #331407 #103307 #072633
square
#2A0733 #331407 #103307 #072633
split-complementary
#2A0733 #263307 #073314
monochromatic
#16041B #16041B #2A0733 #560E69 #83169F

Accessibility & contrast

On white

17.85
#2A0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0733
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0733#FFFFFF#000000##FFFFFF
##2A07331.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#091932
Tritanopia (blue-blind)
#2A101C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0733;
/* rgb */ color: rgb(42, 7, 51);
/* oklch */ color: oklch(21.8% 0.087 318.5);
Tailwind
colors: {
  custom: {
    50: '#664a6b',
    500: '#2a0733',
    950: '#000000',
  },
}
SCSS
$custom: #2a0733;
$custom-light: #664a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0733",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 287.727,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21798,
    "c": 0.08687,
    "h": 318.5
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#2A0733
secondary
#337323
accent
#F2355C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0733

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

Preview Lab → · Contrast checker → · Palette generator →

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