#2F143F#2F143F

#2F143F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.082 H 310.9°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#2F143F
RGBrgb(47, 20, 63)
HSLhsl(278, 52%, 16%)
HSVhsv(278, 68%, 25%)
CMYKcmyk(25.4%, 68.3%, 0%, 75.3%)
CIE-LABlab(12.37, 22.72, -22.03)
CIE-LCHlch(12.37, 31.65, 315.88°)
OKLaboklab(25.43% 0.0536 -0.062)
OKLCHoklch(25.43% 0.082 310.9)
XYZxyz(2.3195, 1.4636, 4.8620)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143F #243F14
analogous
#1A143F #2F143F #3F143A
triadic
#2F143F #3F2F14 #143F2F
tetradic
#2F143F #3F1A14 #243F14 #143A3F
square
#2F143F #3F1A14 #243F14 #143A3F
split-complementary
#2F143F #3A3F14 #143F1A
monochromatic
#110717 #110717 #2F143F #52236D #74319C

Accessibility & contrast

On white

16.24
#2F143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F143F
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143F#FFFFFF#000000##FFFFFF
##2F143F1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#2D1C27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143f;
/* rgb */ color: rgb(47, 20, 63);
/* oklch */ color: oklch(25.4% 0.082 310.9);
Tailwind
colors: {
  custom: {
    50: '#695374',
    500: '#2f143f',
    950: '#000000',
  },
}
SCSS
$custom: #2f143f;
$custom-light: #695374;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143f",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 277.674,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25433,
    "c": 0.08193,
    "h": 310.9
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#2F143F
secondary
#4F7738
accent
#DB4D82
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F143F

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

Preview Lab → · Contrast checker → · Palette generator →

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