#2F0B41#2F0B41

#2F0B41 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.099 H 311.7°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#2F0B41
RGBrgb(47, 11, 65)
HSLhsl(280, 71%, 15%)
HSVhsv(280, 83%, 25%)
CMYKcmyk(27.7%, 83.1%, 0%, 74.5%)
CIE-LABlab(10.74, 28.21, -26.07)
CIE-LCHlch(10.74, 38.41, 317.25°)
OKLaboklab(24.31% 0.0656 -0.0737)
OKLCHoklch(24.31% 0.099 311.7)
XYZxyz(2.2459, 1.2254, 5.1182)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B41 #1D410B
analogous
#140B41 #2F0B41 #410B38
triadic
#2F0B41 #412F0B #0B412F
tetradic
#2F0B41 #41140B #1D410B #0B3841
square
#2F0B41 #41140B #1D410B #0B3841
split-complementary
#2F0B41 #38410B #0B4114
monochromatic
#13041A #13041A #2F0B41 #551475 #7B1DAA

Accessibility & contrast

On white

16.87
#2F0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B41
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B41#FFFFFF#000000##FFFFFF
##2F0B411.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#2D1725
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0b41;
/* rgb */ color: rgb(47, 11, 65);
/* oklch */ color: oklch(24.3% 0.099 311.7);
Tailwind
colors: {
  custom: {
    50: '#6a4e76',
    500: '#2f0b41',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b41;
$custom-light: #6a4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b41",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 280,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24311,
    "c": 0.09871,
    "h": 311.7
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#2F0B41
secondary
#467E2A
accent
#EE3A76
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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