#2F143E#2F143E

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

Color values

HEX#2F143E
RGBrgb(47, 20, 62)
HSLhsl(279, 51%, 16%)
HSVhsv(279, 68%, 24%)
CMYKcmyk(24.2%, 67.7%, 0%, 75.7%)
CIE-LABlab(12.30, 22.45, -21.44)
CIE-LCHlch(12.30, 31.05, 316.32°)
OKLaboklab(25.36% 0.0536 -0.0602)
OKLCHoklch(25.36% 0.081 311.7)
XYZxyz(2.2918, 1.4525, 4.7161)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F143E #233E14
analogous
#1A143E #2F143E #3E1438
triadic
#2F143E #3E2F14 #143E2F
tetradic
#2F143E #3E1A14 #233E14 #14383E
square
#2F143E #3E1A14 #233E14 #14383E
split-complementary
#2F143E #383E14 #143E1A
monochromatic
#120717 #120717 #2F143E #52236C #75329B

Accessibility & contrast

On white

16.27
#2F143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F143E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F143E#FFFFFF#000000##FFFFFF
##2F143E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#11213D
Tritanopia (blue-blind)
#2D1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f143e;
/* rgb */ color: rgb(47, 20, 62);
/* oklch */ color: oklch(25.4% 0.081 311.7);
Tailwind
colors: {
  custom: {
    50: '#695373',
    500: '#2f143e',
    950: '#000000',
  },
}
SCSS
$custom: #2f143e;
$custom-light: #695373;
$custom-dark: #000000;
JSON
{
  "hex": "#2f143e",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 278.571,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25358,
    "c": 0.08062,
    "h": 311.7
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#2F143E
secondary
#4E7638
accent
#DB4D80
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F143E

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

Preview Lab → · Contrast checker → · Palette generator →

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