#2E184A#2E184A

#2E184A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.090 H 300.8°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#2E184A
RGBrgb(46, 24, 74)
HSLhsl(266, 51%, 19%)
HSVhsv(266, 68%, 29%)
CMYKcmyk(37.8%, 67.6%, 0%, 71%)
CIE-LABlab(13.99, 23.08, -27.13)
CIE-LCHlch(13.99, 35.61, 310.39°)
OKLaboklab(26.85% 0.0458 -0.077)
OKLCHoklch(26.85% 0.09 300.8)
XYZxyz(2.6891, 1.7285, 6.6692)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E184A #344A18
analogous
#181B4A #2E184A #47184A
triadic
#2E184A #4A2E18 #184A2E
tetradic
#2E184A #4A181B #344A18 #184A47
square
#2E184A #4A181B #344A18 #184A47
split-complementary
#2E184A #4A4718 #1B4A18
monochromatic
#0E0717 #11091C #2E184A #4B2778 #6736A6

Accessibility & contrast

On white

15.60
#2E184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2E184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E184A
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E184A#FFFFFF#000000##FFFFFF
##2E184A1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#082349
Tritanopia (blue-blind)
#28232E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e184a;
/* rgb */ color: rgb(46, 24, 74);
/* oklch */ color: oklch(26.8% 0.090 300.8);
Tailwind
colors: {
  custom: {
    50: '#69567d',
    500: '#2e184a',
    950: '#000000',
  },
}
SCSS
$custom: #2e184a;
$custom-light: #69567d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e184a",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 266.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26845,
    "c": 0.08958,
    "h": 300.8
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#2E184A
secondary
#63813D
accent
#DA4D9C
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #2E184A

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

Preview Lab → · Contrast checker → · Palette generator →

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