#2A002E#2A002E

#2A002E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.095 H 324.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#2A002E
RGBrgb(42, 0, 46)
HSLhsl(295, 100%, 9%)
HSVhsv(295, 100%, 18%)
CMYKcmyk(8.7%, 100%, 0%, 82%)
CIE-LABlab(6.23, 28.13, -19.57)
CIE-LCHlch(6.23, 34.27, 325.18°)
OKLaboklab(20.33% 0.0775 -0.0555)
OKLCHoklch(20.33% 0.095 324.4)
XYZxyz(1.4479, 0.6896, 2.6411)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A002E #042E00
analogous
#13002E #2A002E #2E001B
triadic
#2A002E #2E2A00 #002E2A
tetradic
#2A002E #2E1300 #042E00 #001B2E
square
#2A002E #2E1300 #042E00 #001B2E
split-complementary
#2A002E #1B2E00 #002E13
monochromatic
#1C001F #1C001F #2A002E #62006B #9A00A8

Accessibility & contrast

On white

18.46
#2A002E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A002E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A002E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A002E#FFFFFF#000000##FFFFFF
##2A002E1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#07162D
Tritanopia (blue-blind)
#2B0717
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a002e;
/* rgb */ color: rgb(42, 0, 46);
/* oklch */ color: oklch(20.3% 0.095 324.4);
Tailwind
colors: {
  custom: {
    50: '#664667',
    500: '#2a002e',
    950: '#000000',
  },
}
SCSS
$custom: #2a002e;
$custom-light: #664667;
$custom-dark: #000000;
JSON
{
  "hex": "#2a002e",
  "rgb": {
    "r": 42,
    "g": 0,
    "b": 46
  },
  "hsl": {
    "h": 294.783,
    "s": 100,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2033,
    "c": 0.09535,
    "h": 324.4
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#2A002E
secondary
#1D7515
accent
#FF293B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A002E

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

Preview Lab → · Contrast checker → · Palette generator →

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