#2F0933#2F0933

#2F0933 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.086 H 323.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2F0933
RGBrgb(47, 9, 51)
HSLhsl(294, 70%, 12%)
HSVhsv(294, 82%, 20%)
CMYKcmyk(7.8%, 82.4%, 0%, 80%)
CIE-LABlab(9.31, 25.82, -18.30)
CIE-LCHlch(9.31, 31.65, 324.68°)
OKLaboklab(22.94% 0.0696 -0.051)
OKLCHoklch(22.94% 0.086 323.8)
XYZxyz(1.8675, 1.0388, 3.2335)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0933 #0D3309
analogous
#1A0933 #2F0933 #330922
triadic
#2F0933 #332F09 #09332F
tetradic
#2F0933 #331A09 #0D3309 #092233
square
#2F0933 #331A09 #0D3309 #092233
split-complementary
#2F0933 #223309 #09331A
monochromatic
#18051A #18051A #2F0933 #5F1267 #8F1B9B

Accessibility & contrast

On white

17.39
#2F0933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0933
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0933#FFFFFF#000000##FFFFFF
##2F09331.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#101C32
Tritanopia (blue-blind)
#30101D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0933;
/* rgb */ color: rgb(47, 9, 51);
/* oklch */ color: oklch(22.9% 0.086 323.8);
Tailwind
colors: {
  custom: {
    50: '#694c6b',
    500: '#2f0933',
    950: '#000000',
  },
}
SCSS
$custom: #2f0933;
$custom-light: #694c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0933",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 294.286,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22941,
    "c": 0.08626,
    "h": 323.8
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#2F0933
secondary
#2E7127
accent
#ED3B4C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0933

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

Preview Lab → · Contrast checker → · Palette generator →

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