#2A0E27#2A0E27

#2A0E27 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.0% C 0.061 H 331.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2A0E27
RGBrgb(42, 14, 39)
HSLhsl(306, 50%, 11%)
HSVhsv(306, 67%, 16%)
CMYKcmyk(0%, 66.7%, 7.1%, 83.5%)
CIE-LABlab(8.59, 18.80, -10.59)
CIE-LCHlch(8.59, 21.58, 330.61°)
OKLaboklab(21.98% 0.0536 -0.0289)
OKLCHoklch(21.98% 0.061 331.7)
XYZxyz(1.4781, 0.9529, 2.0251)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E27 #0E2A11
analogous
#1F0E2A #2A0E27 #2A0E19
triadic
#2A0E27 #272A0E #0E272A
tetradic
#2A0E27 #2A1F0E #0E2A11 #0E192A
square
#2A0E27 #2A1F0E #0E2A11 #0E192A
split-complementary
#2A0E27 #192A0E #0E2A1F
monochromatic
#170815 #170815 #2A0E27 #581D52 #862D7C

Accessibility & contrast

On white

17.64
#2A0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E27
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E27#FFFFFF#000000##FFFFFF
##2A0E271.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1628
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#2C1018
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0e27;
/* rgb */ color: rgb(42, 14, 39);
/* oklch */ color: oklch(22.0% 0.061 331.7);
Tailwind
colors: {
  custom: {
    50: '#654e61',
    500: '#2a0e27',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e27;
$custom-light: #654e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e27",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 306.429,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21979,
    "c": 0.06089,
    "h": 331.7
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#2A0E27
secondary
#306436
accent
#DA5D4E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050105
muted
#7A7779

Preview Lab

Preview with #2A0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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