#2F143B#2F143B

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

Color values

HEX#2F143B
RGBrgb(47, 20, 59)
HSLhsl(282, 49%, 15%)
HSVhsv(282, 66%, 23%)
CMYKcmyk(20.3%, 66.1%, 0%, 76.9%)
CIE-LABlab(12.09, 21.65, -19.64)
CIE-LCHlch(12.09, 29.24, 317.79°)
OKLaboklab(25.14% 0.0535 -0.055)
OKLCHoklch(25.14% 0.077 314.2)
XYZxyz(2.2117, 1.4205, 4.2945)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143B #203B14
analogous
#1B143B #2F143B #3B1433
triadic
#2F143B #3B2F14 #143B2F
tetradic
#2F143B #3B1B14 #203B14 #14333B
square
#2F143B #3B1B14 #203B14 #14333B
split-complementary
#2F143B #333B14 #143B1B
monochromatic
#120817 #120817 #2F143B #532369 #783396

Accessibility & contrast

On white

16.36
#2F143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F143B
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143B#FFFFFF#000000##FFFFFF
##2F143B1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#2E1B25
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143b;
/* rgb */ color: rgb(47, 20, 59);
/* oklch */ color: oklch(25.1% 0.077 314.2);
Tailwind
colors: {
  custom: {
    50: '#695371',
    500: '#2f143b',
    950: '#000000',
  },
}
SCSS
$custom: #2f143b;
$custom-light: #695371;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143b",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 281.538,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25137,
    "c": 0.07671,
    "h": 314.2
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#2F143B
secondary
#4A7338
accent
#D94F79
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F143B

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

Preview Lab → · Contrast checker → · Palette generator →

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