#2E143D#2E143D

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

Color values

HEX#2E143D
RGBrgb(46, 20, 61)
HSLhsl(278, 51%, 16%)
HSVhsv(278, 67%, 24%)
CMYKcmyk(24.6%, 67.2%, 0%, 76.1%)
CIE-LABlab(12.08, 21.88, -21.10)
CIE-LCHlch(12.08, 30.40, 316.04°)
OKLaboklab(25.14% 0.052 -0.0593)
OKLCHoklch(25.14% 0.079 311.3)
XYZxyz(2.2190, 1.4181, 4.5708)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E143D #233D14
analogous
#19143D #2E143D #3D1437
triadic
#2E143D #3D2E14 #143D2E
tetradic
#2E143D #3D1914 #233D14 #14373D
square
#2E143D #3D1914 #233D14 #14373D
split-complementary
#2E143D #373D14 #143D19
monochromatic
#110817 #110817 #2E143D #51236B #743299

Accessibility & contrast

On white

16.36
#2E143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E143D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E143D
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E143D#FFFFFF#000000##FFFFFF
##2E143D1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#2C1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e143d;
/* rgb */ color: rgb(46, 20, 61);
/* oklch */ color: oklch(25.1% 0.079 311.3);
Tailwind
colors: {
  custom: {
    50: '#685373',
    500: '#2e143d',
    950: '#000000',
  },
}
SCSS
$custom: #2e143d;
$custom-light: #685373;
$custom-dark: #000000;
JSON
{
  "hex": "#2e143d",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 278.049,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.07886,
    "h": 311.3
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#2E143D
secondary
#4E7538
accent
#DA4E81
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E143D

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

Preview Lab → · Contrast checker → · Palette generator →

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