#2F0A29#2F0A29

#2F0A29 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.075 H 334.8°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2F0A29
RGBrgb(47, 10, 41)
HSLhsl(310, 65%, 11%)
HSVhsv(310, 79%, 18%)
CMYKcmyk(0%, 78.7%, 12.8%, 81.6%)
CIE-LABlab(8.84, 23.21, -11.64)
CIE-LCHlch(8.84, 25.97, 333.38°)
OKLaboklab(22.39% 0.0675 -0.0317)
OKLCHoklch(22.39% 0.075 334.8)
XYZxyz(1.6811, 0.9817, 2.1983)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A29 #0A2F10
analogous
#220A2F #2F0A29 #2F0A16
triadic
#2F0A29 #292F0A #0A292F
tetradic
#2F0A29 #2F220A #0A2F10 #0A162F
square
#2F0A29 #2F220A #0A2F10 #0A162F
split-complementary
#2F0A29 #162F0A #0A2F22
monochromatic
#190516 #190516 #2F0A29 #611555 #941F81

Accessibility & contrast

On white

17.55
#2F0A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A29
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A29#FFFFFF#000000##FFFFFF
##2F0A291.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162A
Deuteranopia (green-blind)
#161B28
Tritanopia (blue-blind)
#320D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a29;
/* rgb */ color: rgb(47, 10, 41);
/* oklch */ color: oklch(22.4% 0.075 334.8);
Tailwind
colors: {
  custom: {
    50: '#694c62',
    500: '#2f0a29',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a29;
$custom-light: #694c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a29",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 309.73,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22387,
    "c": 0.07456,
    "h": 334.8
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#2F0A29
secondary
#296C34
accent
#E85B40
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0A29

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

Preview Lab → · Contrast checker → · Palette generator →

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