#2A062B#2A062B

#2A062B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 326.8°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2A062B
RGBrgb(42, 6, 43)
HSLhsl(298, 76%, 10%)
HSVhsv(298, 86%, 17%)
CMYKcmyk(2.3%, 86%, 0%, 83.1%)
CIE-LABlab(7.20, 24.18, -15.78)
CIE-LCHlch(7.20, 28.88, 326.87°)
OKLaboklab(21.03% 0.0672 -0.0439)
OKLCHoklch(21.03% 0.08 326.8)
XYZxyz(1.4560, 0.7970, 2.3622)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A062B #072B06
analogous
#18062B #2A062B #2B061A
triadic
#2A062B #2B2A06 #062B2A
tetradic
#2A062B #2B1806 #072B06 #061A2B
square
#2A062B #2B1806 #072B06 #061A2B
split-complementary
#2A062B #1A2B06 #062B18
monochromatic
#1A041B #1A041B #2A062B #5E0D61 #931596

Accessibility & contrast

On white

18.11
#2A062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A062B
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A062B#FFFFFF#000000##FFFFFF
##2A062B1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#0E182A
Tritanopia (blue-blind)
#2B0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a062b;
/* rgb */ color: rgb(42, 6, 43);
/* oklch */ color: oklch(21.0% 0.080 326.8);
Tailwind
colors: {
  custom: {
    50: '#654964',
    500: '#2a062b',
    950: '#000000',
  },
}
SCSS
$custom: #2a062b;
$custom-light: #654964;
$custom-dark: #000000;
JSON
{
  "hex": "#2a062b",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 298.378,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21028,
    "c": 0.08027,
    "h": 326.8
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2A062B
secondary
#236C21
accent
#F2363B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A062B

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

Preview Lab → · Contrast checker → · Palette generator →

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