#2F0437#2F0437

#2F0437 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.098 H 320.8°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2F0437
RGBrgb(47, 4, 55)
HSLhsl(291, 86%, 12%)
HSVhsv(291, 93%, 22%)
CMYKcmyk(14.5%, 92.7%, 0%, 78.4%)
CIE-LABlab(8.71, 29.30, -22.17)
CIE-LCHlch(8.71, 36.74, 322.88°)
OKLaboklab(22.62% 0.0762 -0.0622)
OKLCHoklch(22.62% 0.098 320.8)
XYZxyz(1.9052, 0.9671, 3.7000)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0437 #0C3704
analogous
#160437 #2F0437 #370426
triadic
#2F0437 #372F04 #04372F
tetradic
#2F0437 #371604 #0C3704 #042637
square
#2F0437 #371604 #0C3704 #042637
split-complementary
#2F0437 #263704 #043716
monochromatic
#18021D #18021D #2F0437 #600870 #910CA9

Accessibility & contrast

On white

17.60
#2F0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0437
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0437#FFFFFF#000000##FFFFFF
##2F04371.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#091A36
Tritanopia (blue-blind)
#2F0E1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0437;
/* rgb */ color: rgb(47, 4, 55);
/* oklch */ color: oklch(22.6% 0.098 320.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a6e',
    500: '#2f0437',
    950: '#000000',
  },
}
SCSS
$custom: #2f0437;
$custom-light: #6a4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0437",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 290.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22615,
    "c": 0.09837,
    "h": 320.8
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#2F0437
secondary
#2C791E
accent
#FD2B4C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0437

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

Preview Lab → · Contrast checker → · Palette generator →

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