#2F0439#2F0439

#2F0439 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.100 H 319.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2F0439
RGBrgb(47, 4, 57)
HSLhsl(289, 87%, 12%)
HSVhsv(289, 93%, 22%)
CMYKcmyk(17.5%, 93%, 0%, 77.6%)
CIE-LABlab(8.88, 29.73, -23.35)
CIE-LCHlch(8.88, 37.81, 321.85°)
OKLaboklab(22.78% 0.0758 -0.0657)
OKLCHoklch(22.78% 0.1 319.1)
XYZxyz(1.9541, 0.9867, 3.9576)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0439 #0E3904
analogous
#150439 #2F0439 #390429
triadic
#2F0439 #392F04 #04392F
tetradic
#2F0439 #391504 #0E3904 #042939
square
#2F0439 #391504 #0E3904 #042939
split-complementary
#2F0439 #293904 #043915
monochromatic
#18021D #18021D #2F0439 #5E0872 #8D0CAB

Accessibility & contrast

On white

17.54
#2F0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0439
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0439#FFFFFF#000000##FFFFFF
##2F04391.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#2F0F1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0439;
/* rgb */ color: rgb(47, 4, 57);
/* oklch */ color: oklch(22.8% 0.100 319.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a70',
    500: '#2f0439',
    950: '#000000',
  },
}
SCSS
$custom: #2f0439;
$custom-light: #6a4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0439",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 288.679,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22784,
    "c": 0.10032,
    "h": 319.1
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2F0439
secondary
#2F7B1E
accent
#FD2B52
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0439

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

Preview Lab → · Contrast checker → · Palette generator →

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