#2F083A#2F083A

#2F083A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.095 H 317.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2F083A
RGBrgb(47, 8, 58)
HSLhsl(287, 76%, 13%)
HSVhsv(287, 86%, 23%)
CMYKcmyk(19%, 86.2%, 0%, 77.3%)
CIE-LABlab(9.67, 27.92, -22.80)
CIE-LCHlch(9.67, 36.05, 320.75°)
OKLaboklab(23.37% 0.0703 -0.0641)
OKLCHoklch(23.37% 0.095 317.6)
XYZxyz(2.0227, 1.0836, 4.1048)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F083A #133A08
analogous
#16083A #2F083A #3A082C
triadic
#2F083A #3A2F08 #083A2F
tetradic
#2F083A #3A1608 #133A08 #082C3A
square
#2F083A #3A1608 #133A08 #082C3A
split-complementary
#2F083A #2C3A08 #083A16
monochromatic
#16041B #16041B #2F083A #5B0F70 #8617A6

Accessibility & contrast

On white

17.26
#2F083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F083A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F083A#FFFFFF#000000##FFFFFF
##2F083A1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#2F1220
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f083a;
/* rgb */ color: rgb(47, 8, 58);
/* oklch */ color: oklch(23.4% 0.095 317.6);
Tailwind
colors: {
  custom: {
    50: '#6a4c70',
    500: '#2f083a',
    950: '#000000',
  },
}
SCSS
$custom: #2f083a;
$custom-light: #6a4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f083a",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 286.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23367,
    "c": 0.09518,
    "h": 317.6
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#2F083A
secondary
#377925
accent
#F2355F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F083A

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

Preview Lab → · Contrast checker → · Palette generator →

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