#2F0A34#2F0A34

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

Color values

HEX#2F0A34
RGBrgb(47, 10, 52)
HSLhsl(293, 68%, 12%)
HSVhsv(293, 81%, 20%)
CMYKcmyk(9.6%, 80.8%, 0%, 79.6%)
CIE-LABlab(9.56, 25.55, -18.63)
CIE-LCHlch(9.56, 31.62, 323.90°)
OKLaboklab(23.14% 0.0682 -0.0519)
OKLCHoklch(23.14% 0.086 322.7)
XYZxyz(1.9006, 1.0695, 3.3545)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A34 #0F340A
analogous
#1A0A34 #2F0A34 #340A24
triadic
#2F0A34 #342F0A #0A342F
tetradic
#2F0A34 #341A0A #0F340A #0A2434
square
#2F0A34 #341A0A #0F340A #0A2434
split-complementary
#2F0A34 #24340A #0A341A
monochromatic
#17051A #17051A #2F0A34 #5D1467 #8C1E9B

Accessibility & contrast

On white

17.30
#2F0A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A34
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A34#FFFFFF#000000##FFFFFF
##2F0A341.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#30111E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0a34;
/* rgb */ color: rgb(47, 10, 52);
/* oklch */ color: oklch(23.1% 0.086 322.7);
Tailwind
colors: {
  custom: {
    50: '#694d6b',
    500: '#2f0a34',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a34;
$custom-light: #694d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a34",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 292.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23141,
    "c": 0.08576,
    "h": 322.7
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2F0A34
secondary
#317128
accent
#EB3D52
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0A34

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

Preview Lab → · Contrast checker → · Palette generator →

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