#2F0A41#2F0A41

#2F0A41 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.100 H 311.9°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2F0A41
RGBrgb(47, 10, 65)
HSLhsl(280, 73%, 15%)
HSVhsv(280, 85%, 25%)
CMYKcmyk(27.7%, 84.6%, 0%, 74.5%)
CIE-LABlab(10.58, 28.67, -26.33)
CIE-LCHlch(10.58, 38.93, 317.43°)
OKLaboklab(24.2% 0.0667 -0.0745)
OKLCHoklch(24.2% 0.1 311.9)
XYZxyz(2.2348, 1.2031, 5.1145)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A41 #1C410A
analogous
#140A41 #2F0A41 #410A38
triadic
#2F0A41 #412F0A #0A412F
tetradic
#2F0A41 #41140A #1C410A #0A3841
square
#2F0A41 #41140A #1C410A #0A3841
split-complementary
#2F0A41 #38410A #0A4114
monochromatic
#13041B #13041B #2F0A41 #551276 #7C1AAB

Accessibility & contrast

On white

16.93
#2F0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A41
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A41#FFFFFF#000000##FFFFFF
##2F0A411.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a41;
/* rgb */ color: rgb(47, 10, 65);
/* oklch */ color: oklch(24.2% 0.100 311.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d76',
    500: '#2f0a41',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a41;
$custom-light: #6a4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a41",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 280.364,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24196,
    "c": 0.10003,
    "h": 311.9
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2F0A41
secondary
#457E29
accent
#F03874
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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