#2F0430#2F0430

#2F0430 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.092 H 327.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2F0430
RGBrgb(47, 4, 48)
HSLhsl(299, 85%, 10%)
HSVhsv(299, 92%, 19%)
CMYKcmyk(2.1%, 91.7%, 0%, 81.2%)
CIE-LABlab(8.17, 27.82, -17.90)
CIE-LCHlch(8.17, 33.09, 327.24°)
OKLaboklab(22.06% 0.0771 -0.0498)
OKLCHoklch(22.06% 0.092 327.1)
XYZxyz(1.7492, 0.9047, 2.8782)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0430 #053004
analogous
#190430 #2F0430 #30041B
triadic
#2F0430 #302F04 #04302F
tetradic
#2F0430 #301904 #053004 #041B30
square
#2F0430 #301904 #053004 #041B30
split-complementary
#2F0430 #1B3004 #043019
monochromatic
#1C021C #1C021C #2F0430 #660968 #9E0DA1

Accessibility & contrast

On white

17.78
#2F0430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0430
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0430#FFFFFF#000000##FFFFFF
##2F04301.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#310B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0430;
/* rgb */ color: rgb(47, 4, 48);
/* oklch */ color: oklch(22.1% 0.092 327.1);
Tailwind
colors: {
  custom: {
    50: '#6a4968',
    500: '#2f0430',
    950: '#000000',
  },
}
SCSS
$custom: #2f0430;
$custom-light: #6a4968;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0430",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 298.636,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22058,
    "c": 0.09173,
    "h": 327.1
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#2F0430
secondary
#1F721D
accent
#FB2D32
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0430

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

Preview Lab → · Contrast checker → · Palette generator →

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