#2F0A2B#2F0A2B

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

Color values

HEX#2F0A2B
RGBrgb(47, 10, 43)
HSLhsl(306, 65%, 11%)
HSVhsv(306, 79%, 18%)
CMYKcmyk(0%, 78.7%, 8.5%, 81.6%)
CIE-LABlab(8.96, 23.61, -12.94)
CIE-LCHlch(8.96, 26.93, 331.27°)
OKLaboklab(22.51% 0.0678 -0.0355)
OKLCHoklch(22.51% 0.076 332.4)
XYZxyz(1.7169, 0.9960, 2.3868)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A2B #0A2F0E
analogous
#200A2F #2F0A2B #2F0A18
triadic
#2F0A2B #2B2F0A #0A2B2F
tetradic
#2F0A2B #2F200A #0A2F0E #0A182F
square
#2F0A2B #2F200A #0A2F0E #0A182F
split-complementary
#2F0A2B #182F0A #0A2F20
monochromatic
#190517 #190517 #2F0A2B #611559 #941F87

Accessibility & contrast

On white

17.51
#2F0A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A2B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A2B#FFFFFF#000000##FFFFFF
##2F0A2B1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162C
Deuteranopia (green-blind)
#151B2A
Tritanopia (blue-blind)
#310D19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a2b;
/* rgb */ color: rgb(47, 10, 43);
/* oklch */ color: oklch(22.5% 0.076 332.4);
Tailwind
colors: {
  custom: {
    50: '#694c64',
    500: '#2f0a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a2b;
$custom-light: #694c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a2b",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 306.486,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22514,
    "c": 0.07649,
    "h": 332.4
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#2F0A2B
secondary
#296C30
accent
#E85240
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F0A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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