#2E143F#2E143F

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

Color values

HEX#2E143F
RGBrgb(46, 20, 63)
HSLhsl(276, 52%, 16%)
HSVhsv(276, 68%, 25%)
CMYKcmyk(27%, 68.3%, 0%, 75.3%)
CIE-LABlab(12.22, 22.43, -22.29)
CIE-LCHlch(12.22, 31.62, 315.18°)
OKLaboklab(25.29% 0.052 -0.0627)
OKLCHoklch(25.29% 0.082 309.7)
XYZxyz(2.2739, 1.4401, 4.8598)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E143F #253F14
analogous
#19143F #2E143F #3F143B
triadic
#2E143F #3F2E14 #143F2E
tetradic
#2E143F #3F1914 #253F14 #143B3F
square
#2E143F #3F1914 #253F14 #143B3F
split-complementary
#2E143F #3B3F14 #143F19
monochromatic
#110717 #110717 #2E143F #50236D #72319C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E143F#FFFFFF#000000##FFFFFF
##2E143F1.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)
#041F40
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#2C1C27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e143f;
/* rgb */ color: rgb(46, 20, 63);
/* oklch */ color: oklch(25.3% 0.082 309.7);
Tailwind
colors: {
  custom: {
    50: '#685374',
    500: '#2e143f',
    950: '#000000',
  },
}
SCSS
$custom: #2e143f;
$custom-light: #685374;
$custom-dark: #000000;
JSON
{
  "hex": "#2e143f",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 276.279,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25289,
    "c": 0.08151,
    "h": 309.7
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#2E143F
secondary
#517738
accent
#DB4D85
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E143F

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

Preview Lab → · Contrast checker → · Palette generator →

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