#2F0930#2F0930

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

Color values

HEX#2F0930
RGBrgb(47, 9, 48)
HSLhsl(298, 68%, 11%)
HSVhsv(298, 81%, 19%)
CMYKcmyk(2.1%, 81.3%, 0%, 81.2%)
CIE-LABlab(9.10, 25.16, -16.42)
CIE-LCHlch(9.10, 30.05, 326.87°)
OKLaboklab(22.72% 0.0696 -0.0455)
OKLCHoklch(22.72% 0.083 326.8)
XYZxyz(1.8034, 1.0132, 2.8963)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0930 #0A3009
analogous
#1B0930 #2F0930 #30091D
triadic
#2F0930 #302F09 #09302F
tetradic
#2F0930 #301B09 #0A3009 #091D30
square
#2F0930 #301B09 #0A3009 #091D30
split-complementary
#2F0930 #1D3009 #09301B
monochromatic
#19051A #19051A #2F0930 #611364 #941C97

Accessibility & contrast

On white

17.46
#2F0930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0930
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0930#FFFFFF#000000##FFFFFF
##2F09301.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041731
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#310F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0930;
/* rgb */ color: rgb(47, 9, 48);
/* oklch */ color: oklch(22.7% 0.083 326.8);
Tailwind
colors: {
  custom: {
    50: '#694c68',
    500: '#2f0930',
    950: '#000000',
  },
}
SCSS
$custom: #2f0930;
$custom-light: #694c68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0930",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 298.462,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22722,
    "c": 0.08316,
    "h": 326.8
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#2F0930
secondary
#296E27
accent
#EB3D41
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0930

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

Preview Lab → · Contrast checker → · Palette generator →

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