#2E144B#2E144B

#2E144B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.097 H 301.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#2E144B
RGBrgb(46, 20, 75)
HSLhsl(268, 58%, 19%)
HSVhsv(268, 73%, 29%)
CMYKcmyk(38.7%, 73.3%, 0%, 70.6%)
CIE-LABlab(13.16, 25.84, -29.16)
CIE-LCHlch(13.16, 38.96, 311.55°)
OKLaboklab(26.27% 0.0512 -0.0829)
OKLCHoklch(26.27% 0.097 301.7)
XYZxyz(2.6466, 1.5891, 6.8226)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E144B #314B14
analogous
#14154B #2E144B #49144B
triadic
#2E144B #4B2E14 #144B2E
tetradic
#2E144B #4B1415 #314B14 #144B49
square
#2E144B #4B1415 #314B14 #144B49
split-complementary
#2E144B #4B4914 #154B14
monochromatic
#0F0618 #10071B #2E144B #4C217B #692EAC

Accessibility & contrast

On white

15.94
#2E144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E144B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E144B#FFFFFF#000000##FFFFFF
##2E144B1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#00224A
Tritanopia (blue-blind)
#28202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e144b;
/* rgb */ color: rgb(46, 20, 75);
/* oklch */ color: oklch(26.3% 0.097 301.7);
Tailwind
colors: {
  custom: {
    50: '#6a537e',
    500: '#2e144b',
    950: '#000000',
  },
}
SCSS
$custom: #2e144b;
$custom-light: #6a537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e144b",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 268.364,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26271,
    "c": 0.09746,
    "h": 301.7
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#2E144B
secondary
#5F8338
accent
#E14798
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E144B

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

Preview Lab → · Contrast checker → · Palette generator →

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