#2F0830#2F0830

#2F0830 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.085 H 326.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0830
RGBrgb(47, 8, 48)
HSLhsl(299, 71%, 11%)
HSVhsv(299, 83%, 19%)
CMYKcmyk(2.1%, 83.3%, 0%, 81.2%)
CIE-LABlab(8.92, 25.68, -16.71)
CIE-LCHlch(8.92, 30.64, 326.94°)
OKLaboklab(22.59% 0.071 -0.0463)
OKLCHoklch(22.59% 0.085 326.9)
XYZxyz(1.7926, 0.9915, 2.8927)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0830 #093008
analogous
#1B0830 #2F0830 #30081D
triadic
#2F0830 #302F08 #08302F
tetradic
#2F0830 #301B08 #093008 #081D30
square
#2F0830 #301B08 #093008 #081D30
split-complementary
#2F0830 #1D3008 #08301B
monochromatic
#1A041A #1A041A #2F0830 #621164 #961999

Accessibility & contrast

On white

17.53
#2F0830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0830
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0830#FFFFFF#000000##FFFFFF
##2F08301.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#310E1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0830;
/* rgb */ color: rgb(47, 8, 48);
/* oklch */ color: oklch(22.6% 0.085 326.9);
Tailwind
colors: {
  custom: {
    50: '#694c68',
    500: '#2f0830',
    950: '#000000',
  },
}
SCSS
$custom: #2f0830;
$custom-light: #694c68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0830",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 298.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22593,
    "c": 0.08481,
    "h": 326.9
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#2F0830
secondary
#276F25
accent
#EE3A3E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0830

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

Preview Lab → · Contrast checker → · Palette generator →

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