#2E144F#2E144F

#2E144F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.103 H 299.5°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#2E144F
RGBrgb(46, 20, 79)
HSLhsl(266, 60%, 19%)
HSVhsv(266, 75%, 31%)
CMYKcmyk(41.8%, 74.7%, 0%, 69%)
CIE-LABlab(13.51, 27.02, -31.35)
CIE-LCHlch(13.51, 41.39, 310.75°)
OKLaboklab(26.62% 0.0506 -0.0894)
OKLCHoklch(26.62% 0.103 299.5)
XYZxyz(2.7878, 1.6456, 7.5664)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E144F #354F14
analogous
#14174F #2E144F #4C144F
triadic
#2E144F #4F2E14 #144F2E
tetradic
#2E144F #4F1417 #354F14 #144F4C
square
#2E144F #4F1417 #354F14 #144F4C
split-complementary
#2E144F #4F4C14 #174F14
monochromatic
#0E0618 #12081E #2E144F #4A2080 #672DB1

Accessibility & contrast

On white

15.80
#2E144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2E144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E144F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E144F#FFFFFF#000000##FFFFFF
##2E144F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#26222F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e144f;
/* rgb */ color: rgb(46, 20, 79);
/* oklch */ color: oklch(26.6% 0.103 299.5);
Tailwind
colors: {
  custom: {
    50: '#6a5481',
    500: '#2e144f',
    950: '#000000',
  },
}
SCSS
$custom: #2e144f;
$custom-light: #6a5481;
$custom-dark: #000000;
JSON
{
  "hex": "#2e144f",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 266.441,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26623,
    "c": 0.10272,
    "h": 299.5
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#2E144F
secondary
#648738
accent
#E3459D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E144F

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

Preview Lab → · Contrast checker → · Palette generator →

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