#2F133B#2F133B

#2F133B is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.079 H 314.5°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2F133B
RGBrgb(47, 19, 59)
HSLhsl(282, 51%, 15%)
HSVhsv(282, 68%, 23%)
CMYKcmyk(20.3%, 67.8%, 0%, 76.9%)
CIE-LABlab(11.86, 22.27, -20.01)
CIE-LCHlch(11.86, 29.94, 318.07°)
OKLaboklab(24.97% 0.0551 -0.056)
OKLCHoklch(24.97% 0.079 314.5)
XYZxyz(2.1945, 1.3859, 4.2887)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F133B #1F3B13
analogous
#1B133B #2F133B #3B1333
triadic
#2F133B #3B2F13 #133B2F
tetradic
#2F133B #3B1B13 #1F3B13 #13333B
square
#2F133B #3B1B13 #1F3B13 #13333B
split-complementary
#2F133B #333B13 #133B1B
monochromatic
#120717 #120717 #2F133B #542269 #793198

Accessibility & contrast

On white

16.44
#2F133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F133B
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F133B#FFFFFF#000000##FFFFFF
##2F133B1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3C
Deuteranopia (green-blind)
#12203A
Tritanopia (blue-blind)
#2E1A24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f133b;
/* rgb */ color: rgb(47, 19, 59);
/* oklch */ color: oklch(25.0% 0.079 314.5);
Tailwind
colors: {
  custom: {
    50: '#695271',
    500: '#2f133b',
    950: '#000000',
  },
}
SCSS
$custom: #2f133b;
$custom-light: #695271;
$custom-dark: #000000;
JSON
{
  "hex": "#2f133b",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 282,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24969,
    "c": 0.07857,
    "h": 314.5
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#2F133B
secondary
#497336
accent
#DB4D78
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F133B

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

Preview Lab → · Contrast checker → · Palette generator →

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