#2F0E44#2F0E44

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

Color values

HEX#2F0E44
RGBrgb(47, 14, 68)
HSLhsl(277, 66%, 16%)
HSVhsv(277, 79%, 27%)
CMYKcmyk(30.9%, 79.4%, 0%, 73.3%)
CIE-LABlab(11.52, 27.49, -26.93)
CIE-LCHlch(11.52, 38.48, 315.59°)
OKLaboklab(24.95% 0.0615 -0.0763)
OKLCHoklch(24.95% 0.098 308.9)
XYZxyz(2.3725, 1.3358, 5.6006)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E44 #23440E
analogous
#140E44 #2F0E44 #440E3E
triadic
#2F0E44 #442F0E #0E442F
tetradic
#2F0E44 #44140E #23440E #0E3E44
square
#2F0E44 #44140E #23440E #0E3E44
split-complementary
#2F0E44 #3E440E #0E4414
monochromatic
#120519 #120519 #2F0E44 #521877 #7523AA

Accessibility & contrast

On white

16.57
#2F0E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F0E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E44
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E44#FFFFFF#000000##FFFFFF
##2F0E441.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#2C1A27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f0e44;
/* rgb */ color: rgb(47, 14, 68);
/* oklch */ color: oklch(24.9% 0.098 308.9);
Tailwind
colors: {
  custom: {
    50: '#6a5078',
    500: '#2f0e44',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e44;
$custom-light: #6a5078;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e44",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 276.667,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24945,
    "c": 0.09799,
    "h": 308.9
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#2F0E44
secondary
#4E7F2F
accent
#E93F81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0E44

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

Preview Lab → · Contrast checker → · Palette generator →

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