#2A0435#2A0435

#2A0435 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.094 H 317.3°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2A0435
RGBrgb(42, 4, 53)
HSLhsl(287, 86%, 11%)
HSVhsv(287, 92%, 21%)
CMYKcmyk(20.8%, 92.5%, 0%, 79.2%)
CIE-LABlab(7.55, 27.70, -22.63)
CIE-LCHlch(7.55, 35.77, 320.75°)
OKLaboklab(21.54% 0.0693 -0.0638)
OKLCHoklch(21.54% 0.094 317.3)
XYZxyz(1.6408, 0.8362, 3.4424)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0435 #0F3504
analogous
#110435 #2A0435 #350427
triadic
#2A0435 #352A04 #04352A
tetradic
#2A0435 #351104 #0F3504 #042735
square
#2A0435 #351104 #0F3504 #042735
split-complementary
#2A0435 #273504 #043511
monochromatic
#17021C #17021C #2A0435 #57086E #840DA7

Accessibility & contrast

On white

17.99
#2A0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0435
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0435#FFFFFF#000000##FFFFFF
##2A04351.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#051834
Tritanopia (blue-blind)
#290E1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0435;
/* rgb */ color: rgb(42, 4, 53);
/* oklch */ color: oklch(21.5% 0.094 317.3);
Tailwind
colors: {
  custom: {
    50: '#66496c',
    500: '#2a0435',
    950: '#000000',
  },
}
SCSS
$custom: #2a0435;
$custom-light: #66496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0435",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 286.531,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21544,
    "c": 0.09418,
    "h": 317.3
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#2A0435
secondary
#32771E
accent
#FC2C5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0435

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

Preview Lab → · Contrast checker → · Palette generator →

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