#2F0447#2F0447

#2F0447 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 24.1% C 0.114 H 308.9°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2F0447
RGBrgb(47, 4, 71)
HSLhsl(279, 89%, 15%)
HSVhsv(279, 94%, 28%)
CMYKcmyk(33.8%, 94.4%, 0%, 72.2%)
CIE-LABlab(10.15, 32.99, -31.26)
CIE-LCHlch(10.15, 45.44, 316.54°)
OKLaboklab(24.07% 0.0717 -0.0889)
OKLCHoklch(24.07% 0.114 308.9)
XYZxyz(2.3528, 1.1461, 6.0573)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0447 #1C4704
analogous
#0D0447 #2F0447 #47043E
triadic
#2F0447 #472F04 #04472F
tetradic
#2F0447 #470D04 #1C4704 #043E47
square
#2F0447 #470D04 #1C4704 #043E47
split-complementary
#2F0447 #3E4704 #04470D
monochromatic
#13021D #13021D #2F0447 #550781 #7C0BBB

Accessibility & contrast

On white

17.08
#2F0447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0447
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0447#FFFFFF#000000##FFFFFF
##2F04471.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#2B1627
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0447;
/* rgb */ color: rgb(47, 4, 71);
/* oklch */ color: oklch(24.1% 0.114 308.9);
Tailwind
colors: {
  custom: {
    50: '#6b4b7b',
    500: '#2f0447',
    950: '#000000',
  },
}
SCSS
$custom: #2f0447;
$custom-light: #6b4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0447",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 278.507,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24069,
    "c": 0.11423,
    "h": 308.9
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#2F0447
secondary
#45881F
accent
#FF2976
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2F0447

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

Preview Lab → · Contrast checker → · Palette generator →

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