#2F143C#2F143C

#2F143C is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.078 H 313.3°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2F143C
RGBrgb(47, 20, 60)
HSLhsl(281, 50%, 16%)
HSVhsv(281, 67%, 24%)
CMYKcmyk(21.7%, 66.7%, 0%, 76.5%)
CIE-LABlab(12.16, 21.92, -20.24)
CIE-LCHlch(12.16, 29.84, 317.27°)
OKLaboklab(25.21% 0.0535 -0.0567)
OKLCHoklch(25.21% 0.078 313.3)
XYZxyz(2.2379, 1.4310, 4.4324)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143C #213C14
analogous
#1B143C #2F143C #3C1435
triadic
#2F143C #3C2F14 #143C2F
tetradic
#2F143C #3C1B14 #213C14 #14353C
square
#2F143C #3C1B14 #213C14 #14353C
split-complementary
#2F143C #353C14 #143C1B
monochromatic
#120817 #120817 #2F143C #53236A #773398

Accessibility & contrast

On white

16.33
#2F143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2F143C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F143C
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143C#FFFFFF#000000##FFFFFF
##2F143C1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#12203B
Tritanopia (blue-blind)
#2E1B25
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143c;
/* rgb */ color: rgb(47, 20, 60);
/* oklch */ color: oklch(25.2% 0.078 313.3);
Tailwind
colors: {
  custom: {
    50: '#695372',
    500: '#2f143c',
    950: '#000000',
  },
}
SCSS
$custom: #2f143c;
$custom-light: #695372;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143c",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 280.5,
    "s": 50,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2521,
    "c": 0.07801,
    "h": 313.3
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#2F143C
secondary
#4B7438
accent
#DA4E7C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F143C

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

Preview Lab → · Contrast checker → · Palette generator →

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