#2F0D44#2F0D44

#2F0D44 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.099 H 309.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2F0D44
RGBrgb(47, 13, 68)
HSLhsl(277, 68%, 16%)
HSVhsv(277, 81%, 27%)
CMYKcmyk(30.9%, 80.9%, 0%, 73.3%)
CIE-LABlab(11.34, 28.00, -27.22)
CIE-LCHlch(11.34, 39.05, 315.81°)
OKLaboklab(24.82% 0.0627 -0.0771)
OKLCHoklch(24.82% 0.099 309.1)
XYZxyz(2.3594, 1.3096, 5.5962)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D44 #22440D
analogous
#130D44 #2F0D44 #440D3D
triadic
#2F0D44 #442F0D #0D442F
tetradic
#2F0D44 #44130D #22440D #0D3D44
square
#2F0D44 #44130D #22440D #0D3D44
split-complementary
#2F0D44 #3D440D #0D4413
monochromatic
#12051A #12051A #2F0D44 #531777 #7621AB

Accessibility & contrast

On white

16.64
#2F0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D44
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D44#FFFFFF#000000##FFFFFF
##2F0D441.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0d44;
/* rgb */ color: rgb(47, 13, 68);
/* oklch */ color: oklch(24.8% 0.099 309.1);
Tailwind
colors: {
  custom: {
    50: '#6a4f78',
    500: '#2f0d44',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d44;
$custom-light: #6a4f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d44",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 277.091,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24816,
    "c": 0.09942,
    "h": 309.1
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2F0D44
secondary
#4D7F2D
accent
#EB3D7F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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