#2F0C2D#2F0C2D

#2F0C2D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.075 H 330.0°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2F0C2D
RGBrgb(47, 12, 45)
HSLhsl(303, 59%, 12%)
HSVhsv(303, 74%, 18%)
CMYKcmyk(0%, 74.5%, 4.3%, 81.6%)
CIE-LABlab(9.46, 22.99, -13.65)
CIE-LCHlch(9.46, 26.73, 329.30°)
OKLaboklab(22.92% 0.065 -0.0375)
OKLCHoklch(22.92% 0.075 330)
XYZxyz(1.7774, 1.0569, 2.5925)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C2D #0C2F0E
analogous
#200C2F #2F0C2D #2F0C1C
triadic
#2F0C2D #2D2F0C #0C2D2F
tetradic
#2F0C2D #2F200C #0C2F0E #0C1C2F
square
#2F0C2D #2F200C #0C2F0E #0C1C2F
split-complementary
#2F0C2D #1C2F0C #0C2F20
monochromatic
#180617 #180617 #2F0C2D #60185C #91258A

Accessibility & contrast

On white

17.34
#2F0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C2D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C2D#FFFFFF#000000##FFFFFF
##2F0C2D1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#31101B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0c2d;
/* rgb */ color: rgb(47, 12, 45);
/* oklch */ color: oklch(22.9% 0.075 330.0);
Tailwind
colors: {
  custom: {
    50: '#694d66',
    500: '#2f0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c2d;
$custom-light: #694d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c2d",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 303.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22916,
    "c": 0.07506,
    "h": 330
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#2F0C2D
secondary
#2C6B30
accent
#E34E45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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