#2E146D#2E146D

#2E146D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.141 H 287.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#2E146D
RGBrgb(46, 20, 109)
HSLhsl(258, 69%, 25%)
HSVhsv(258, 82%, 43%)
CMYKcmyk(57.8%, 81.7%, 0%, 57.3%)
CIE-LABlab(16.43, 36.09, -46.61)
CIE-LCHlch(16.43, 58.95, 307.75°)
OKLaboklab(29.59% 0.0429 -0.1341)
OKLCHoklch(29.59% 0.141 287.7)
XYZxyz(4.1364, 2.1851, 14.6688)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E146D #536D14
analogous
#14276D #2E146D #5A146D
triadic
#2E146D #6D2E14 #146D2E
tetradic
#2E146D #6D1427 #536D14 #146D5A
square
#2E146D #6D1427 #536D14 #146D5A
split-complementary
#2E146D #6D5A14 #276D14
monochromatic
#0B051A #180B39 #2E146D #441DA1 #5A27D4

Accessibility & contrast

On white

14.61
#2E146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E146D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E146D#FFFFFF#000000##FFFFFF
##2E146D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#132E40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e146d;
/* rgb */ color: rgb(46, 20, 109);
/* oklch */ color: oklch(29.6% 0.141 287.7);
Tailwind
colors: {
  custom: {
    50: '#6f5598',
    500: '#2e146d',
    950: '#000000',
  },
}
SCSS
$custom: #2e146d;
$custom-light: #6f5598;
$custom-dark: #000000;
JSON
{
  "hex": "#2e146d",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 257.528,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.14082,
    "h": 287.7
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#2E146D
secondary
#85A439
accent
#EC3CB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2E146D

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

Preview Lab → · Contrast checker → · Palette generator →

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