#2F0A30#2F0A30

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

Color values

HEX#2F0A30
RGBrgb(47, 10, 48)
HSLhsl(298, 66%, 11%)
HSVhsv(298, 79%, 19%)
CMYKcmyk(2.1%, 79.2%, 0%, 81.2%)
CIE-LABlab(9.28, 24.67, -16.14)
CIE-LCHlch(9.28, 29.48, 326.80°)
OKLaboklab(22.85% 0.0682 -0.0447)
OKLCHoklch(22.85% 0.082 326.7)
XYZxyz(1.8143, 1.0349, 2.8999)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A30 #0B300A
analogous
#1C0A30 #2F0A30 #300A1E
triadic
#2F0A30 #302F0A #0A302F
tetradic
#2F0A30 #301C0A #0B300A #0A1E30
square
#2F0A30 #301C0A #0B300A #0A1E30
split-complementary
#2F0A30 #1E300A #0A301C
monochromatic
#190519 #190519 #2F0A30 #611563 #921F95

Accessibility & contrast

On white

17.40
#2F0A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A30
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A30#FFFFFF#000000##FFFFFF
##2F0A301.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051731
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#310F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0a30;
/* rgb */ color: rgb(47, 10, 48);
/* oklch */ color: oklch(22.9% 0.082 326.7);
Tailwind
colors: {
  custom: {
    50: '#694d68',
    500: '#2f0a30',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a30;
$custom-light: #694d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a30",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 298.421,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22851,
    "c": 0.08154,
    "h": 326.7
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2F0A30
secondary
#2A6D29
accent
#E83F44
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A30

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

Preview Lab → · Contrast checker → · Palette generator →

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