#2A0436#2A0436

#2A0436 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.095 H 316.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2A0436
RGBrgb(42, 4, 54)
HSLhsl(286, 86%, 11%)
HSVhsv(286, 93%, 21%)
CMYKcmyk(22.2%, 92.6%, 0%, 78.8%)
CIE-LABlab(7.64, 27.94, -23.23)
CIE-LCHlch(7.64, 36.34, 320.27°)
OKLaboklab(21.63% 0.069 -0.0656)
OKLCHoklch(21.63% 0.095 316.5)
XYZxyz(1.6640, 0.8455, 3.5649)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0436 #103604
analogous
#110436 #2A0436 #360429
triadic
#2A0436 #362A04 #04362A
tetradic
#2A0436 #361104 #103604 #042936
square
#2A0436 #361104 #103604 #042936
split-complementary
#2A0436 #293604 #043611
monochromatic
#16021C #16021C #2A0436 #56086F #830CA8

Accessibility & contrast

On white

17.96
#2A0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0436
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0436#FFFFFF#000000##FFFFFF
##2A04361.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#290F1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0436;
/* rgb */ color: rgb(42, 4, 54);
/* oklch */ color: oklch(21.6% 0.095 316.5);
Tailwind
colors: {
  custom: {
    50: '#66496d',
    500: '#2a0436',
    950: '#000000',
  },
}
SCSS
$custom: #2a0436;
$custom-light: #66496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0436",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 285.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21633,
    "c": 0.09519,
    "h": 316.5
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#2A0436
secondary
#33781E
accent
#FC2B5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0436

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

Preview Lab → · Contrast checker → · Palette generator →

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