#2F143A#2F143A

#2F143A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.075 H 315.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#2F143A
RGBrgb(47, 20, 58)
HSLhsl(283, 49%, 15%)
HSVhsv(283, 66%, 23%)
CMYKcmyk(19%, 65.5%, 0%, 77.3%)
CIE-LABlab(12.03, 21.39, -19.04)
CIE-LCHlch(12.03, 28.64, 318.33°)
OKLaboklab(25.07% 0.0534 -0.0532)
OKLCHoklch(25.07% 0.075 315.1)
XYZxyz(2.1860, 1.4102, 4.1592)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143A #1F3A14
analogous
#1C143A #2F143A #3A1432
triadic
#2F143A #3A2F14 #143A2F
tetradic
#2F143A #3A1C14 #1F3A14 #14323A
square
#2F143A #3A1C14 #1F3A14 #14323A
split-complementary
#2F143A #323A14 #143A1C
monochromatic
#120817 #120817 #2F143A #542468 #793395

Accessibility & contrast

On white

16.38
#2F143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F143A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143A#FFFFFF#000000##FFFFFF
##2F143A1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3B
Deuteranopia (green-blind)
#142039
Tritanopia (blue-blind)
#2E1A24
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143a;
/* rgb */ color: rgb(47, 20, 58);
/* oklch */ color: oklch(25.1% 0.075 315.1);
Tailwind
colors: {
  custom: {
    50: '#695370',
    500: '#2f143a',
    950: '#000000',
  },
}
SCSS
$custom: #2f143a;
$custom-light: #695370;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143a",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 282.632,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25066,
    "c": 0.07541,
    "h": 315.1
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#2F143A
secondary
#497238
accent
#D85077
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F143A

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

Preview Lab → · Contrast checker → · Palette generator →

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