#2F0330#2F0330

#2F0330 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.094 H 327.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2F0330
RGBrgb(47, 3, 48)
HSLhsl(299, 88%, 10%)
HSVhsv(299, 94%, 19%)
CMYKcmyk(2.1%, 93.8%, 0%, 81.2%)
CIE-LABlab(7.98, 28.39, -18.21)
CIE-LCHlch(7.98, 33.73, 327.32°)
OKLaboklab(21.92% 0.0787 -0.0506)
OKLCHoklch(21.92% 0.094 327.2)
XYZxyz(1.7383, 0.8830, 2.8746)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0330 #043003
analogous
#190330 #2F0330 #30031A
triadic
#2F0330 #302F03 #03302F
tetradic
#2F0330 #301903 #043003 #031A30
square
#2F0330 #301903 #043003 #031A30
split-complementary
#2F0330 #1A3003 #033019
monochromatic
#1C021D #1C021D #2F0330 #67076A #A00AA3

Accessibility & contrast

On white

17.85
#2F0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0330
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0330#FFFFFF#000000##FFFFFF
##2F03301.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#310A19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0330;
/* rgb */ color: rgb(47, 3, 48);
/* oklch */ color: oklch(21.9% 0.094 327.2);
Tailwind
colors: {
  custom: {
    50: '#6a4968',
    500: '#2f0330',
    950: '#000000',
  },
}
SCSS
$custom: #2f0330;
$custom-light: #6a4968;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0330",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 298.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21919,
    "c": 0.09355,
    "h": 327.2
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#2F0330
secondary
#1D731B
accent
#FE292E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0330

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

Preview Lab → · Contrast checker → · Palette generator →

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