#2E194E#2E194E

#2E194E is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.094 H 298.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#2E194E
RGBrgb(46, 25, 78)
HSLhsl(264, 51%, 20%)
HSVhsv(264, 68%, 31%)
CMYKcmyk(41%, 67.9%, 0%, 69.4%)
CIE-LABlab(14.55, 23.65, -28.98)
CIE-LCHlch(14.55, 37.41, 309.22°)
OKLaboklab(27.35% 0.0442 -0.0824)
OKLCHoklch(27.35% 0.094 298.2)
XYZxyz(2.8491, 1.8261, 7.4086)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E194E #394E19
analogous
#191E4E #2E194E #48194E
triadic
#2E194E #4E2E19 #194E2E
tetradic
#2E194E #4E191E #394E19 #194E48
square
#2E194E #4E191E #394E19 #194E48
split-complementary
#2E194E #4E4819 #1E4E19
monochromatic
#0E0717 #130A20 #2E194E #49287C #6537AB

Accessibility & contrast

On white

15.38
#2E194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2E194E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E194E
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E194E#FFFFFF#000000##FFFFFF
##2E194E1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#03244D
Tritanopia (blue-blind)
#272530
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2e194e;
/* rgb */ color: rgb(46, 25, 78);
/* oklch */ color: oklch(27.3% 0.094 298.2);
Tailwind
colors: {
  custom: {
    50: '#6a5780',
    500: '#2e194e',
    950: '#000000',
  },
}
SCSS
$custom: #2e194e;
$custom-light: #6a5780;
$custom-dark: #000000;
JSON
{
  "hex": "#2e194e",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 263.774,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27348,
    "c": 0.09353,
    "h": 298.2
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#2E194E
secondary
#69843E
accent
#DB4DA3
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #2E194E

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

Preview Lab → · Contrast checker → · Palette generator →

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