#2A062E#2A062E

#2A062E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.083 H 323.6°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2A062E
RGBrgb(42, 6, 46)
HSLhsl(294, 77%, 10%)
HSVhsv(294, 87%, 18%)
CMYKcmyk(8.7%, 87%, 0%, 82%)
CIE-LABlab(7.41, 24.90, -17.70)
CIE-LCHlch(7.41, 30.55, 324.59°)
OKLaboklab(21.26% 0.0671 -0.0494)
OKLCHoklch(21.26% 0.083 323.6)
XYZxyz(1.5131, 0.8198, 2.6628)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A062E #0A2E06
analogous
#16062E #2A062E #2E061E
triadic
#2A062E #2E2A06 #062E2A
tetradic
#2A062E #2E1606 #0A2E06 #061E2E
square
#2A062E #2E1606 #0A2E06 #061E2E
split-complementary
#2A062E #1E2E06 #062E16
monochromatic
#19041B #19041B #2A062E #5B0D64 #8D149A

Accessibility & contrast

On white

18.04
#2A062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A062E
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A062E#FFFFFF#000000##FFFFFF
##2A062E1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#0C182D
Tritanopia (blue-blind)
#2B0D19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a062e;
/* rgb */ color: rgb(42, 6, 46);
/* oklch */ color: oklch(21.3% 0.083 323.6);
Tailwind
colors: {
  custom: {
    50: '#654967',
    500: '#2a062e',
    950: '#000000',
  },
}
SCSS
$custom: #2a062e;
$custom-light: #654967;
$custom-dark: #000000;
JSON
{
  "hex": "#2a062e",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 294,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21255,
    "c": 0.08335,
    "h": 323.6
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#2A062E
secondary
#296F21
accent
#F33447
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A062E

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

Preview Lab → · Contrast checker → · Palette generator →

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