#2F0C30#2F0C30

#2F0C30 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.078 H 326.6°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2F0C30
RGBrgb(47, 12, 48)
HSLhsl(298, 60%, 12%)
HSVhsv(298, 75%, 19%)
CMYKcmyk(2.1%, 75%, 0%, 81.2%)
CIE-LABlab(9.65, 23.64, -15.56)
CIE-LCHlch(9.65, 28.30, 326.64°)
OKLaboklab(23.12% 0.0653 -0.043)
OKLCHoklch(23.12% 0.078 326.6)
XYZxyz(1.8372, 1.0808, 2.9076)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C30 #0D300C
analogous
#1D0C30 #2F0C30 #300C1F
triadic
#2F0C30 #302F0C #0C302F
tetradic
#2F0C30 #301D0C #0D300C #0C1F30
square
#2F0C30 #301D0C #0D300C #0C1F30
split-complementary
#2F0C30 #1F300C #0C301D
monochromatic
#180618 #180618 #2F0C30 #5F1861 #8F2492

Accessibility & contrast

On white

17.27
#2F0C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C30
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C30#FFFFFF#000000##FFFFFF
##2F0C301.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071831
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#30111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0c30;
/* rgb */ color: rgb(47, 12, 48);
/* oklch */ color: oklch(23.1% 0.078 326.6);
Tailwind
colors: {
  custom: {
    50: '#694e68',
    500: '#2f0c30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c30;
$custom-light: #694e68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c30",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 298.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23117,
    "c": 0.07822,
    "h": 326.6
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#2F0C30
secondary
#2E6C2C
accent
#E34549
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0C30

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

Preview Lab → · Contrast checker → · Palette generator →

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