#2F0E41#2F0E41

#2F0E41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.094 H 311.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2F0E41
RGBrgb(47, 14, 65)
HSLhsl(279, 65%, 15%)
HSVhsv(279, 78%, 25%)
CMYKcmyk(27.7%, 78.5%, 0%, 74.5%)
CIE-LABlab(11.28, 26.70, -25.21)
CIE-LCHlch(11.28, 36.72, 316.64°)
OKLaboklab(24.69% 0.062 -0.0712)
OKLCHoklch(24.69% 0.094 311)
XYZxyz(2.2833, 1.3001, 5.1307)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E41 #20410E
analogous
#160E41 #2F0E41 #410E39
triadic
#2F0E41 #412F0E #0E412F
tetradic
#2F0E41 #41160E #20410E #0E3941
square
#2F0E41 #41160E #20410E #0E3941
split-complementary
#2F0E41 #39410E #0E4116
monochromatic
#120519 #120519 #2F0E41 #531973 #7824A6

Accessibility & contrast

On white

16.67
#2F0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E41
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E41#FFFFFF#000000##FFFFFF
##2F0E411.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#2D1926
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0e41;
/* rgb */ color: rgb(47, 14, 65);
/* oklch */ color: oklch(24.7% 0.094 311.0);
Tailwind
colors: {
  custom: {
    50: '#6a5076',
    500: '#2f0e41',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e41;
$custom-light: #6a5076;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e41",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 278.824,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.09441,
    "h": 311
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#2F0E41
secondary
#4A7C2F
accent
#E8407B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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