#2F0D45#2F0D45

#2F0D45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.101 H 308.4°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#2F0D45
RGBrgb(47, 13, 69)
HSLhsl(276, 68%, 16%)
HSVhsv(276, 81%, 27%)
CMYKcmyk(31.9%, 81.2%, 0%, 72.9%)
CIE-LABlab(11.43, 28.26, -27.78)
CIE-LCHlch(11.43, 39.63, 315.49°)
OKLaboklab(24.9% 0.0625 -0.0788)
OKLCHoklch(24.9% 0.101 308.4)
XYZxyz(2.3902, 1.3219, 5.7583)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D45 #23450D
analogous
#130D45 #2F0D45 #450D3F
triadic
#2F0D45 #452F0D #0D452F
tetradic
#2F0D45 #45130D #23450D #0D3F45
square
#2F0D45 #45130D #23450D #0D3F45
split-complementary
#2F0D45 #3F450D #0D4513
monochromatic
#12051A #12051A #2F0D45 #521778 #7520AC

Accessibility & contrast

On white

16.61
#2F0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D45
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D45#FFFFFF#000000##FFFFFF
##2F0D451.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#2C1A28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0d45;
/* rgb */ color: rgb(47, 13, 69);
/* oklch */ color: oklch(24.9% 0.101 308.4);
Tailwind
colors: {
  custom: {
    50: '#6a4f79',
    500: '#2f0d45',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d45;
$custom-light: #6a4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d45",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 276.429,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24903,
    "c": 0.10059,
    "h": 308.4
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#2F0D45
secondary
#4E802D
accent
#EB3D81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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