#2F0A31#2F0A31

#2F0A31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.083 H 325.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2F0A31
RGBrgb(47, 10, 49)
HSLhsl(297, 66%, 12%)
HSVhsv(297, 80%, 19%)
CMYKcmyk(4.1%, 79.6%, 0%, 80.8%)
CIE-LABlab(9.35, 24.88, -16.77)
CIE-LCHlch(9.35, 30.01, 326.02°)
OKLaboklab(22.92% 0.0682 -0.0465)
OKLCHoklch(22.92% 0.083 325.7)
XYZxyz(1.8352, 1.0433, 3.0098)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A31 #0C310A
analogous
#1C0A31 #2F0A31 #310A20
triadic
#2F0A31 #312F0A #0A312F
tetradic
#2F0A31 #311C0A #0C310A #0A2031
square
#2F0A31 #311C0A #0C310A #0A2031
split-complementary
#2F0A31 #20310A #0A311C
monochromatic
#180519 #180519 #2F0A31 #601464 #911F97

Accessibility & contrast

On white

17.38
#2F0A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A31
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A31#FFFFFF#000000##FFFFFF
##2F0A311.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041732
Deuteranopia (green-blind)
#121C30
Tritanopia (blue-blind)
#30101C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0a31;
/* rgb */ color: rgb(47, 10, 49);
/* oklch */ color: oklch(22.9% 0.083 325.7);
Tailwind
colors: {
  custom: {
    50: '#694d69',
    500: '#2f0a31',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a31;
$custom-light: #694d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a31",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 296.923,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22921,
    "c": 0.08259,
    "h": 325.7
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#2F0A31
secondary
#2C6E29
accent
#E93F47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A31

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

Preview Lab → · Contrast checker → · Palette generator →

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