#2F0B30#2F0B30

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

Color values

HEX#2F0B30
RGBrgb(47, 11, 48)
HSLhsl(298, 63%, 12%)
HSVhsv(298, 77%, 19%)
CMYKcmyk(2.1%, 77.1%, 0%, 81.2%)
CIE-LABlab(9.46, 24.16, -15.86)
CIE-LCHlch(9.46, 28.90, 326.72°)
OKLaboklab(22.98% 0.0668 -0.0439)
OKLCHoklch(22.98% 0.08 326.7)
XYZxyz(1.8254, 1.0572, 2.9036)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B30 #0C300B
analogous
#1D0B30 #2F0B30 #300B1F
triadic
#2F0B30 #302F0B #0B302F
tetradic
#2F0B30 #301D0B #0C300B #0B1F30
square
#2F0B30 #301D0B #0C300B #0B1F30
split-complementary
#2F0B30 #1F300B #0B301D
monochromatic
#180619 #180619 #2F0B30 #601662 #912294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0B30#FFFFFF#000000##FFFFFF
##2F0B301.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)
#061731
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#31101C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0b30;
/* rgb */ color: rgb(47, 11, 48);
/* oklch */ color: oklch(23.0% 0.080 326.7);
Tailwind
colors: {
  custom: {
    50: '#694d68',
    500: '#2f0b30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b30;
$custom-light: #694d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b30",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 298.378,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22981,
    "c": 0.07991,
    "h": 326.7
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#2F0B30
secondary
#2C6D2A
accent
#E64246
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B30

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

Preview Lab → · Contrast checker → · Palette generator →

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