#2F0D30#2F0D30

#2F0D30 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.076 H 326.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2F0D30
RGBrgb(47, 13, 48)
HSLhsl(298, 57%, 12%)
HSVhsv(298, 73%, 19%)
CMYKcmyk(2.1%, 72.9%, 0%, 81.2%)
CIE-LABlab(9.84, 23.10, -15.25)
CIE-LCHlch(9.84, 27.68, 326.57°)
OKLaboklab(23.26% 0.0638 -0.0421)
OKLCHoklch(23.26% 0.076 326.5)
XYZxyz(1.8497, 1.1057, 2.9117)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D30 #0E300D
analogous
#1E0D30 #2F0D30 #300D20
triadic
#2F0D30 #302F0D #0D302F
tetradic
#2F0D30 #301E0D #0E300D #0D2030
square
#2F0D30 #301E0D #0E300D #0D2030
split-complementary
#2F0D30 #20300D #0D301E
monochromatic
#180718 #180718 #2F0D30 #5E1A60 #8D2790

Accessibility & contrast

On white

17.20
#2F0D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D30
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D30#FFFFFF#000000##FFFFFF
##2F0D301.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081831
Deuteranopia (green-blind)
#141D2F
Tritanopia (blue-blind)
#30121C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0d30;
/* rgb */ color: rgb(47, 13, 48);
/* oklch */ color: oklch(23.3% 0.076 326.5);
Tailwind
colors: {
  custom: {
    50: '#694e68',
    500: '#2f0d30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d30;
$custom-light: #694e68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d30",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 298.286,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23259,
    "c": 0.07647,
    "h": 326.5
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#2F0D30
secondary
#2F6B2E
accent
#E1474C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0D30

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

Preview Lab → · Contrast checker → · Palette generator →

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