#2F0D41#2F0D41

#2F0D41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.096 H 311.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2F0D41
RGBrgb(47, 13, 65)
HSLhsl(279, 67%, 15%)
HSVhsv(279, 80%, 25%)
CMYKcmyk(27.7%, 80%, 0%, 74.5%)
CIE-LABlab(11.09, 27.22, -25.51)
CIE-LCHlch(11.09, 37.30, 316.86°)
OKLaboklab(24.56% 0.0632 -0.0721)
OKLCHoklch(24.56% 0.096 311.2)
XYZxyz(2.2702, 1.2739, 5.1263)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D41 #1F410D
analogous
#150D41 #2F0D41 #410D39
triadic
#2F0D41 #412F0D #0D412F
tetradic
#2F0D41 #41150D #1F410D #0D3941
square
#2F0D41 #41150D #1F410D #0D3941
split-complementary
#2F0D41 #39410D #0D4115
monochromatic
#12051A #12051A #2F0D41 #541774 #7921A7

Accessibility & contrast

On white

16.74
#2F0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F0D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D41
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D41#FFFFFF#000000##FFFFFF
##2F0D411.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#2D1826
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0d41;
/* rgb */ color: rgb(47, 13, 65);
/* oklch */ color: oklch(24.6% 0.096 311.2);
Tailwind
colors: {
  custom: {
    50: '#6a4f76',
    500: '#2f0d41',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d41;
$custom-light: #6a4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d41",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 279.231,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24558,
    "c": 0.09589,
    "h": 311.2
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#2F0D41
secondary
#497D2D
accent
#EA3E7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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