#2F0435#2F0435

#2F0435 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.096 H 322.5°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2F0435
RGBrgb(47, 4, 53)
HSLhsl(293, 86%, 11%)
HSVhsv(293, 92%, 21%)
CMYKcmyk(11.3%, 92.5%, 0%, 79.2%)
CIE-LABlab(8.55, 28.86, -20.97)
CIE-LCHlch(8.55, 35.68, 324.00°)
OKLaboklab(22.45% 0.0765 -0.0587)
OKLCHoklch(22.45% 0.096 322.5)
XYZxyz(1.8582, 0.9483, 3.4526)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0435 #0A3504
analogous
#160435 #2F0435 #350422
triadic
#2F0435 #352F04 #04352F
tetradic
#2F0435 #351604 #0A3504 #042235
square
#2F0435 #351604 #0A3504 #042235
split-complementary
#2F0435 #223504 #043516
monochromatic
#19021C #19021C #2F0435 #61086E #940DA7

Accessibility & contrast

On white

17.65
#2F0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0435
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0435#FFFFFF#000000##FFFFFF
##2F04351.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#300D1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0435;
/* rgb */ color: rgb(47, 4, 53);
/* oklch */ color: oklch(22.4% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#6a4a6c',
    500: '#2f0435',
    950: '#000000',
  },
}
SCSS
$custom: #2f0435;
$custom-light: #6a4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0435",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 292.653,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2245,
    "c": 0.09645,
    "h": 322.5
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#2F0435
secondary
#29771E
accent
#FC2C45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0435

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

Preview Lab → · Contrast checker → · Palette generator →

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