#2F0F30#2F0F30

#2F0F30 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.073 H 326.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2F0F30
RGBrgb(47, 15, 48)
HSLhsl(298, 52%, 12%)
HSVhsv(298, 69%, 19%)
CMYKcmyk(2.1%, 68.7%, 0%, 81.2%)
CIE-LABlab(10.26, 21.97, -14.60)
CIE-LCHlch(10.26, 26.38, 326.39°)
OKLaboklab(23.56% 0.0606 -0.0403)
OKLCHoklch(23.56% 0.073 326.4)
XYZxyz(1.8766, 1.1595, 2.9207)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F30 #10300F
analogous
#1F0F30 #2F0F30 #300F21
triadic
#2F0F30 #302F0F #0F302F
tetradic
#2F0F30 #301F0F #10300F #0F2130
square
#2F0F30 #301F0F #10300F #0F2130
split-complementary
#2F0F30 #21300F #0F301F
monochromatic
#170717 #170717 #2F0F30 #5D1E5F #8A2C8D

Accessibility & contrast

On white

17.05
#2F0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F30
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F30#FFFFFF#000000##FFFFFF
##2F0F301.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1931
Deuteranopia (green-blind)
#161D2F
Tritanopia (blue-blind)
#30131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f30;
/* rgb */ color: rgb(47, 15, 48);
/* oklch */ color: oklch(23.6% 0.073 326.4);
Tailwind
colors: {
  custom: {
    50: '#694f68',
    500: '#2f0f30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f30;
$custom-light: #694f68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f30",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 298.182,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23559,
    "c": 0.07281,
    "h": 326.4
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#2F0F30
secondary
#336A31
accent
#DC4C50
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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