#2E143E#2E143E

#2E143E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.080 H 310.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2E143E
RGBrgb(46, 20, 62)
HSLhsl(277, 51%, 16%)
HSVhsv(277, 68%, 24%)
CMYKcmyk(25.8%, 67.7%, 0%, 75.7%)
CIE-LABlab(12.15, 22.15, -21.69)
CIE-LCHlch(12.15, 31.01, 315.60°)
OKLaboklab(25.21% 0.052 -0.061)
OKLCHoklch(25.21% 0.08 310.5)
XYZxyz(2.2462, 1.4290, 4.7140)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E143E #243E14
analogous
#19143E #2E143E #3E1439
triadic
#2E143E #3E2E14 #143E2E
tetradic
#2E143E #3E1914 #243E14 #14393E
square
#2E143E #3E1914 #243E14 #14393E
split-complementary
#2E143E #393E14 #143E19
monochromatic
#110717 #110717 #2E143E #50236C #73329B

Accessibility & contrast

On white

16.33
#2E143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E143E
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E143E#FFFFFF#000000##FFFFFF
##2E143E1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#2C1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e143e;
/* rgb */ color: rgb(46, 20, 62);
/* oklch */ color: oklch(25.2% 0.080 310.5);
Tailwind
colors: {
  custom: {
    50: '#685373',
    500: '#2e143e',
    950: '#000000',
  },
}
SCSS
$custom: #2e143e;
$custom-light: #685373;
$custom-dark: #000000;
JSON
{
  "hex": "#2e143e",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 277.143,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25213,
    "c": 0.08019,
    "h": 310.5
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#2E143E
secondary
#4F7638
accent
#DB4D83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E143E

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

Preview Lab → · Contrast checker → · Palette generator →

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