#2F143D#2F143D

#2F143D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.079 H 312.5°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#2F143D
RGBrgb(47, 20, 61)
HSLhsl(280, 51%, 16%)
HSVhsv(280, 67%, 24%)
CMYKcmyk(23%, 67.2%, 0%, 76.1%)
CIE-LABlab(12.23, 22.19, -20.84)
CIE-LCHlch(12.23, 30.44, 316.79°)
OKLaboklab(25.28% 0.0536 -0.0585)
OKLCHoklch(25.28% 0.079 312.5)
XYZxyz(2.2646, 1.4416, 4.5729)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143D #223D14
analogous
#1A143D #2F143D #3D1436
triadic
#2F143D #3D2F14 #143D2F
tetradic
#2F143D #3D1A14 #223D14 #14363D
square
#2F143D #3D1A14 #223D14 #14363D
split-complementary
#2F143D #363D14 #143D1A
monochromatic
#120817 #120817 #2F143D #53236B #763299

Accessibility & contrast

On white

16.30
#2F143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F143D
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143D#FFFFFF#000000##FFFFFF
##2F143D1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3E
Deuteranopia (green-blind)
#11213C
Tritanopia (blue-blind)
#2E1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143d;
/* rgb */ color: rgb(47, 20, 61);
/* oklch */ color: oklch(25.3% 0.079 312.5);
Tailwind
colors: {
  custom: {
    50: '#695373',
    500: '#2f143d',
    950: '#000000',
  },
}
SCSS
$custom: #2f143d;
$custom-light: #695373;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143d",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 279.512,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25283,
    "c": 0.07931,
    "h": 312.5
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#2F143D
secondary
#4D7538
accent
#DA4E7E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F143D

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

Preview Lab → · Contrast checker → · Palette generator →

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