#2E184B#2E184B

#2E184B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.091 H 300.2°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#2E184B
RGBrgb(46, 24, 75)
HSLhsl(266, 52%, 19%)
HSVhsv(266, 68%, 29%)
CMYKcmyk(38.7%, 68%, 0%, 70.6%)
CIE-LABlab(14.07, 23.38, -27.69)
CIE-LCHlch(14.07, 36.24, 310.17°)
OKLaboklab(26.93% 0.0458 -0.0786)
OKLCHoklch(26.93% 0.091 300.2)
XYZxyz(2.7230, 1.7421, 6.8480)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E184B #354B18
analogous
#181C4B #2E184B #48184B
triadic
#2E184B #4B2E18 #184B2E
tetradic
#2E184B #4B181C #354B18 #184B48
square
#2E184B #4B181C #354B18 #184B48
split-complementary
#2E184B #4B4818 #1C4B18
monochromatic
#0E0717 #12091D #2E184B #4A2779 #6736A8

Accessibility & contrast

On white

15.57
#2E184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E184B
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E184B#FFFFFF#000000##FFFFFF
##2E184B1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#06234A
Tritanopia (blue-blind)
#28232E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e184b;
/* rgb */ color: rgb(46, 24, 75);
/* oklch */ color: oklch(26.9% 0.091 300.2);
Tailwind
colors: {
  custom: {
    50: '#69567e',
    500: '#2e184b',
    950: '#000000',
  },
}
SCSS
$custom: #2e184b;
$custom-light: #69567e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e184b",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 265.882,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26927,
    "c": 0.09098,
    "h": 300.2
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#2E184B
secondary
#64823D
accent
#DB4D9E
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2E184B

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

Preview Lab → · Contrast checker → · Palette generator →

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