#2F082E#2F082E

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

Color values

HEX#2F082E
RGBrgb(47, 8, 46)
HSLhsl(302, 71%, 11%)
HSVhsv(302, 83%, 18%)
CMYKcmyk(0%, 83%, 2.1%, 81.6%)
CIE-LABlab(8.78, 25.25, -15.45)
CIE-LCHlch(8.78, 29.60, 328.55°)
OKLaboklab(22.45% 0.071 -0.0427)
OKLCHoklch(22.45% 0.083 329)
XYZxyz(1.7522, 0.9754, 2.6802)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082E #082F09
analogous
#1C082F #2F082E #2F081A
triadic
#2F082E #2E2F08 #082E2F
tetradic
#2F082E #2F1C08 #082F09 #081A2F
square
#2F082E #2F1C08 #082F09 #081A2F
split-complementary
#2F082E #1A2F08 #082F1C
monochromatic
#1A041A #1A041A #2F082E #631161 #981A94

Accessibility & contrast

On white

17.57
#2F082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F082E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082E#FFFFFF#000000##FFFFFF
##2F082E1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#310D1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082e;
/* rgb */ color: rgb(47, 8, 46);
/* oklch */ color: oklch(22.5% 0.083 329.0);
Tailwind
colors: {
  custom: {
    50: '#694b67',
    500: '#2f082e',
    950: '#000000',
  },
}
SCSS
$custom: #2f082e;
$custom-light: #694b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082e",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 301.538,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22451,
    "c": 0.08282,
    "h": 329
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2F082E
secondary
#256E27
accent
#EE3F3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F082E

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

Preview Lab → · Contrast checker → · Palette generator →

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