#2F0A2A#2F0A2A

#2F0A2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.076 H 333.6°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0A2A
RGBrgb(47, 10, 42)
HSLhsl(308, 65%, 11%)
HSVhsv(308, 79%, 18%)
CMYKcmyk(0%, 78.7%, 10.6%, 81.6%)
CIE-LABlab(8.90, 23.41, -12.29)
CIE-LCHlch(8.90, 26.44, 332.30°)
OKLaboklab(22.45% 0.0676 -0.0336)
OKLCHoklch(22.45% 0.076 333.6)
XYZxyz(1.6988, 0.9887, 2.2914)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A2A #0A2F0F
analogous
#210A2F #2F0A2A #2F0A17
triadic
#2F0A2A #2A2F0A #0A2A2F
tetradic
#2F0A2A #2F210A #0A2F0F #0A172F
square
#2F0A2A #2F210A #0A2F0F #0A172F
split-complementary
#2F0A2A #172F0A #0A2F21
monochromatic
#190517 #190517 #2F0A2A #611557 #941F84

Accessibility & contrast

On white

17.53
#2F0A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A2A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A2A#FFFFFF#000000##FFFFFF
##2F0A2A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#161B29
Tritanopia (blue-blind)
#320D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a2a;
/* rgb */ color: rgb(47, 10, 42);
/* oklch */ color: oklch(22.4% 0.076 333.6);
Tailwind
colors: {
  custom: {
    50: '#694c63',
    500: '#2f0a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a2a;
$custom-light: #694c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a2a",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 308.108,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2245,
    "c": 0.07553,
    "h": 333.6
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#2F0A2A
secondary
#296C32
accent
#E85740
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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