#2F082F#2F082F

#2F082F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.084 H 327.9°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2F082F
RGBrgb(47, 8, 47)
HSLhsl(300, 71%, 11%)
HSVhsv(300, 83%, 18%)
CMYKcmyk(0%, 83%, 0%, 81.6%)
CIE-LABlab(8.85, 25.46, -16.08)
CIE-LCHlch(8.85, 30.12, 327.73°)
OKLaboklab(22.52% 0.071 -0.0445)
OKLCHoklch(22.52% 0.084 327.9)
XYZxyz(1.7722, 0.9834, 2.7852)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082F #082F08
analogous
#1B082F #2F082F #2F081B
triadic
#2F082F #2F2F08 #082F2F
tetradic
#2F082F #2F1B08 #082F08 #081B2F
square
#2F082F #2F1B08 #082F08 #081B2F
split-complementary
#2F082F #1B2F08 #082F1B
monochromatic
#1A041A #1A041A #2F082F #631163 #981A98

Accessibility & contrast

On white

17.55
#2F082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F082F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082F#FFFFFF#000000##FFFFFF
##2F082F1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#310E1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082f;
/* rgb */ color: rgb(47, 8, 47);
/* oklch */ color: oklch(22.5% 0.084 327.9);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2f082f',
    950: '#000000',
  },
}
SCSS
$custom: #2f082f;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082f",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 300,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22521,
    "c": 0.08381,
    "h": 327.9
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2F082F
secondary
#256E25
accent
#EE3A3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F082F

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

Preview Lab → · Contrast checker → · Palette generator →

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