#2F0428#2F0428

#2F0428 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.085 H 335.6°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2F0428
RGBrgb(47, 4, 40)
HSLhsl(310, 84%, 10%)
HSVhsv(310, 91%, 18%)
CMYKcmyk(0%, 91.5%, 14.9%, 81.6%)
CIE-LABlab(7.63, 26.26, -12.78)
CIE-LCHlch(7.63, 29.21, 334.06°)
OKLaboklab(21.49% 0.077 -0.0349)
OKLCHoklch(21.49% 0.085 335.6)
XYZxyz(1.5987, 0.8445, 2.0859)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0428 #042F0B
analogous
#20042F #2F0428 #2F0413
triadic
#2F0428 #282F04 #04282F
tetradic
#2F0428 #2F2004 #042F0B #04132F
square
#2F0428 #2F2004 #042F0B #04132F
split-complementary
#2F0428 #132F04 #042F20
monochromatic
#1C0218 #1C0218 #2F0428 #670958 #A00E88

Accessibility & contrast

On white

17.97
#2F0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0428
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0428#FFFFFF#000000##FFFFFF
##2F04281.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041329
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#320715
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0428;
/* rgb */ color: rgb(47, 4, 40);
/* oklch */ color: oklch(21.5% 0.085 335.6);
Tailwind
colors: {
  custom: {
    50: '#6a4962',
    500: '#2f0428',
    950: '#000000',
  },
}
SCSS
$custom: #2f0428;
$custom-light: #6a4962;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0428",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 309.767,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2149,
    "c": 0.08457,
    "h": 335.6
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#2F0428
secondary
#1D722B
accent
#FB4F2D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0428

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

Preview Lab → · Contrast checker → · Palette generator →

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