#2F082D#2F082D

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

Color values

HEX#2F082D
RGBrgb(47, 8, 45)
HSLhsl(303, 71%, 11%)
HSVhsv(303, 83%, 18%)
CMYKcmyk(0%, 83%, 4.3%, 81.6%)
CIE-LABlab(8.72, 25.05, -14.81)
CIE-LCHlch(8.72, 29.10, 329.41°)
OKLaboklab(22.38% 0.0709 -0.0408)
OKLCHoklch(22.38% 0.082 330.1)
XYZxyz(1.7328, 0.9676, 2.5776)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082D #082F0A
analogous
#1D082F #2F082D #2F0819
triadic
#2F082D #2D2F08 #082D2F
tetradic
#2F082D #2F1D08 #082F0A #08192F
square
#2F082D #2F1D08 #082F0A #08192F
split-complementary
#2F082D #192F08 #082F1D
monochromatic
#1A0419 #1A0419 #2F082D #63115F #981A91

Accessibility & contrast

On white

17.60
#2F082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F082D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F082D
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082D#FFFFFF#000000##FFFFFF
##2F082D1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#310D19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082d;
/* rgb */ color: rgb(47, 8, 45);
/* oklch */ color: oklch(22.4% 0.082 330.1);
Tailwind
colors: {
  custom: {
    50: '#694b66',
    500: '#2f082d',
    950: '#000000',
  },
}
SCSS
$custom: #2f082d;
$custom-light: #694b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082d",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 303.077,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22382,
    "c": 0.08184,
    "h": 330.1
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#2F082D
secondary
#256E29
accent
#EE433A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F082D

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

Preview Lab → · Contrast checker → · Palette generator →

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