#2F133A#2F133A

#2F133A is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.077 H 315.4°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#2F133A
RGBrgb(47, 19, 58)
HSLhsl(283, 51%, 15%)
HSVhsv(283, 67%, 23%)
CMYKcmyk(19%, 67.2%, 0%, 77.3%)
CIE-LABlab(11.79, 22.01, -19.40)
CIE-LCHlch(11.79, 29.35, 318.61°)
OKLaboklab(24.9% 0.055 -0.0543)
OKLCHoklch(24.9% 0.077 315.4)
XYZxyz(2.1688, 1.3756, 4.1534)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F133A #1E3A13
analogous
#1C133A #2F133A #3A1331
triadic
#2F133A #3A2F13 #133A2F
tetradic
#2F133A #3A1C13 #1E3A13 #13313A
square
#2F133A #3A1C13 #1E3A13 #13313A
split-complementary
#2F133A #313A13 #133A1C
monochromatic
#130817 #130817 #2F133A #542268 #7A3196

Accessibility & contrast

On white

16.47
#2F133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2F133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F133A
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F133A#FFFFFF#000000##FFFFFF
##2F133A1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#2E1A24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f133a;
/* rgb */ color: rgb(47, 19, 58);
/* oklch */ color: oklch(24.9% 0.077 315.4);
Tailwind
colors: {
  custom: {
    50: '#695270',
    500: '#2f133a',
    950: '#000000',
  },
}
SCSS
$custom: #2f133a;
$custom-light: #695270;
$custom-dark: #000000;
JSON
{
  "hex": "#2f133a",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 283.077,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24897,
    "c": 0.07729,
    "h": 315.4
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#2F133A
secondary
#477236
accent
#DA4E75
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F133A

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

Preview Lab → · Contrast checker → · Palette generator →

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