#2A0F2E#2A0F2E

#2A0F2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.067 H 322.3°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2A0F2E
RGBrgb(42, 15, 46)
HSLhsl(292, 51%, 12%)
HSVhsv(292, 67%, 18%)
CMYKcmyk(8.7%, 67.4%, 0%, 82%)
CIE-LABlab(9.25, 19.81, -14.78)
CIE-LCHlch(9.25, 24.72, 323.29°)
OKLaboklab(22.6% 0.053 -0.0409)
OKLCHoklch(22.6% 0.067 322.3)
XYZxyz(1.6188, 1.0312, 2.6980)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F2E #132E0F
analogous
#1B0F2E #2A0F2E #2E0F23
triadic
#2A0F2E #2E2A0F #0F2E2A
tetradic
#2A0F2E #2E1B0F #132E0F #0F232E
square
#2A0F2E #2E1B0F #132E0F #0F232E
split-complementary
#2A0F2E #232E0F #0F2E1B
monochromatic
#150817 #150817 #2A0F2E #541E5C #7E2D8A

Accessibility & contrast

On white

17.41
#2A0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F2E
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F2E#FFFFFF#000000##FFFFFF
##2A0F2E1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#2B131C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0f2e;
/* rgb */ color: rgb(42, 15, 46);
/* oklch */ color: oklch(22.6% 0.067 322.3);
Tailwind
colors: {
  custom: {
    50: '#654f67',
    500: '#2a0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f2e;
$custom-light: #654f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f2e",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 292.258,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.226,
    "c": 0.067,
    "h": 322.3
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#2A0F2E
secondary
#386831
accent
#DA4D60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2A0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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