#2A0433#2A0433

#2A0433 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.092 H 319.1°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2A0433
RGBrgb(42, 4, 51)
HSLhsl(289, 85%, 11%)
HSVhsv(289, 92%, 20%)
CMYKcmyk(17.6%, 92.2%, 0%, 80%)
CIE-LABlab(7.39, 27.21, -21.42)
CIE-LCHlch(7.39, 34.63, 321.78°)
OKLaboklab(21.37% 0.0697 -0.0603)
OKLCHoklch(21.37% 0.092 319.1)
XYZxyz(1.5957, 0.8182, 3.2052)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0433 #0D3304
analogous
#120433 #2A0433 #330424
triadic
#2A0433 #332A04 #04332A
tetradic
#2A0433 #331204 #0D3304 #042433
square
#2A0433 #331204 #0D3304 #042433
split-complementary
#2A0433 #243304 #043312
monochromatic
#17021C #17021C #2A0433 #59086C #870DA4

Accessibility & contrast

On white

18.05
#2A0433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0433
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0433#FFFFFF#000000##FFFFFF
##2A04331.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#2A0D1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0433;
/* rgb */ color: rgb(42, 4, 51);
/* oklch */ color: oklch(21.4% 0.092 319.1);
Tailwind
colors: {
  custom: {
    50: '#66496b',
    500: '#2a0433',
    950: '#000000',
  },
}
SCSS
$custom: #2a0433;
$custom-light: #66496b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0433",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 288.511,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21371,
    "c": 0.09215,
    "h": 319.1
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2A0433
secondary
#2E751D
accent
#FC2C54
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0433

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

Preview Lab → · Contrast checker → · Palette generator →

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