#2F082C#2F082C

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

Color values

HEX#2F082C
RGBrgb(47, 8, 44)
HSLhsl(305, 71%, 11%)
HSVhsv(305, 83%, 18%)
CMYKcmyk(0%, 83%, 6.4%, 81.6%)
CIE-LABlab(8.65, 24.84, -14.17)
CIE-LCHlch(8.65, 28.60, 330.31°)
OKLaboklab(22.31% 0.0709 -0.039)
OKLCHoklch(22.31% 0.081 331.2)
XYZxyz(1.7137, 0.9600, 2.4774)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F082C #082F0B
analogous
#1E082F #2F082C #2F0818
triadic
#2F082C #2C2F08 #082C2F
tetradic
#2F082C #2F1E08 #082F0B #08182F
square
#2F082C #2F1E08 #082F0B #08182F
split-complementary
#2F082C #182F08 #082F1E
monochromatic
#1A0418 #1A0418 #2F082C #63115D #981A8E

Accessibility & contrast

On white

17.62
#2F082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F082C
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F082C#FFFFFF#000000##FFFFFF
##2F082C1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#310C19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f082c;
/* rgb */ color: rgb(47, 8, 44);
/* oklch */ color: oklch(22.3% 0.081 331.2);
Tailwind
colors: {
  custom: {
    50: '#694b65',
    500: '#2f082c',
    950: '#000000',
  },
}
SCSS
$custom: #2f082c;
$custom-light: #694b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f082c",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 304.615,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22314,
    "c": 0.08087,
    "h": 331.2
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2F082C
secondary
#256E2B
accent
#EE483A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2F082C

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

Preview Lab → · Contrast checker → · Palette generator →

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