#2F0129#2F0129

#2F0129 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.091 H 334.3°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2F0129
RGBrgb(47, 1, 41)
HSLhsl(308, 96%, 9%)
HSVhsv(308, 98%, 18%)
CMYKcmyk(0%, 97.9%, 12.8%, 81.6%)
CIE-LABlab(7.10, 28.12, -14.36)
CIE-LCHlch(7.10, 31.57, 332.95°)
OKLaboklab(21.11% 0.0824 -0.0396)
OKLCHoklch(21.11% 0.091 334.3)
XYZxyz(1.5834, 0.7863, 2.1658)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0129 #012F07
analogous
#1E012F #2F0129 #2F0112
triadic
#2F0129 #292F01 #01292F
tetradic
#2F0129 #2F1E01 #012F07 #01122F
square
#2F0129 #2F1E01 #012F07 #01122F
split-complementary
#2F0129 #122F01 #012F1E
monochromatic
#1E011A #1E011A #2F0129 #6B025D #A70492

Accessibility & contrast

On white

18.15
#2F0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0129
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0129#FFFFFF#000000##FFFFFF
##2F01291.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#111828
Tritanopia (blue-blind)
#320414
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0129;
/* rgb */ color: rgb(47, 1, 41);
/* oklch */ color: oklch(21.1% 0.091 334.3);
Tailwind
colors: {
  custom: {
    50: '#6a4763',
    500: '#2f0129',
    950: '#000000',
  },
}
SCSS
$custom: #2f0129;
$custom-light: #6a4763;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0129",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 307.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21114,
    "c": 0.09144,
    "h": 334.3
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#2F0129
secondary
#177523
accent
#FF4529
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#070005
muted
#7A7779

Preview Lab

Preview with #2F0129

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

Preview Lab → · Contrast checker → · Palette generator →

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