#2F0944#2F0944

#2F0944 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.105 H 309.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2F0944
RGBrgb(47, 9, 68)
HSLhsl(279, 77%, 15%)
HSVhsv(279, 87%, 27%)
CMYKcmyk(30.9%, 86.8%, 0%, 73.3%)
CIE-LABlab(10.68, 29.89, -28.29)
CIE-LCHlch(10.68, 41.15, 316.57°)
OKLaboklab(24.35% 0.0672 -0.0802)
OKLCHoklch(24.35% 0.105 309.9)
XYZxyz(2.3132, 1.2171, 5.5808)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0944 #1E4409
analogous
#110944 #2F0944 #44093B
triadic
#2F0944 #442F09 #09442F
tetradic
#2F0944 #441109 #1E4409 #093B44
square
#2F0944 #441109 #1E4409 #093B44
split-complementary
#2F0944 #3B4409 #094411
monochromatic
#13041B #13041B #2F0944 #54107A #7A17B0

Accessibility & contrast

On white

16.89
#2F0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0944
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0944#FFFFFF#000000##FFFFFF
##2F09441.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#2C1726
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0944;
/* rgb */ color: rgb(47, 9, 68);
/* oklch */ color: oklch(24.3% 0.105 309.9);
Tailwind
colors: {
  custom: {
    50: '#6b4d78',
    500: '#2f0944',
    950: '#000000',
  },
}
SCSS
$custom: #2f0944;
$custom-light: #6b4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0944",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 278.644,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.10464,
    "h": 309.9
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#2F0944
secondary
#478227
accent
#F33578
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2F0944

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

Preview Lab → · Contrast checker → · Palette generator →

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