#2A0F2C#2A0F2C

#2A0F2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.065 H 324.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2A0F2C
RGBrgb(42, 15, 44)
HSLhsl(296, 49%, 12%)
HSVhsv(296, 66%, 17%)
CMYKcmyk(4.5%, 65.9%, 0%, 82.7%)
CIE-LABlab(9.12, 19.33, -13.49)
CIE-LCHlch(9.12, 23.57, 325.08°)
OKLaboklab(22.47% 0.0528 -0.0372)
OKLCHoklch(22.47% 0.065 324.8)
XYZxyz(1.5803, 1.0158, 2.4952)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F2C #112C0F
analogous
#1C0F2C #2A0F2C #2C0F20
triadic
#2A0F2C #2C2A0F #0F2C2A
tetradic
#2A0F2C #2C1C0F #112C0F #0F202C
square
#2A0F2C #2C1C0F #112C0F #0F202C
split-complementary
#2A0F2C #202C0F #0F2C1C
monochromatic
#160817 #160817 #2A0F2C #561F5A #812E87

Accessibility & contrast

On white

17.45
#2A0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A0F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F2C
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F2C#FFFFFF#000000##FFFFFF
##2A0F2C1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#2B131B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0f2c;
/* rgb */ color: rgb(42, 15, 44);
/* oklch */ color: oklch(22.5% 0.065 324.8);
Tailwind
colors: {
  custom: {
    50: '#654f65',
    500: '#2a0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f2c;
$custom-light: #654f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f2c",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 295.862,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22466,
    "c": 0.06458,
    "h": 324.8
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#2A0F2C
secondary
#356531
accent
#D94F59
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050205
muted
#7A787A

Preview Lab

Preview with #2A0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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