#2F0A2F#2F0A2F

#2F0A2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.081 H 327.8°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2F0A2F
RGBrgb(47, 10, 47)
HSLhsl(300, 65%, 11%)
HSVhsv(300, 79%, 18%)
CMYKcmyk(0%, 78.7%, 0%, 81.6%)
CIE-LABlab(9.21, 24.45, -15.51)
CIE-LCHlch(9.21, 28.95, 327.61°)
OKLaboklab(22.78% 0.0681 -0.0429)
OKLCHoklch(22.78% 0.081 327.8)
XYZxyz(1.7939, 1.0268, 2.7925)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A2F #0A2F0A
analogous
#1C0A2F #2F0A2F #2F0A1C
triadic
#2F0A2F #2F2F0A #0A2F2F
tetradic
#2F0A2F #2F1C0A #0A2F0A #0A1C2F
square
#2F0A2F #2F1C0A #0A2F0A #0A1C2F
split-complementary
#2F0A2F #1C2F0A #0A2F1C
monochromatic
#190519 #190519 #2F0A2F #611561 #941F94

Accessibility & contrast

On white

17.42
#2F0A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A2F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A2F#FFFFFF#000000##FFFFFF
##2F0A2F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a2f;
/* rgb */ color: rgb(47, 10, 47);
/* oklch */ color: oklch(22.8% 0.081 327.8);
Tailwind
colors: {
  custom: {
    50: '#694d67',
    500: '#2f0a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a2f;
$custom-light: #694d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a2f",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.0805,
    "h": 327.8
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#2F0A2F
secondary
#296C29
accent
#E84040
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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