#2E1469#2E1469

#2E1469 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.136 H 288.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2E1469
RGBrgb(46, 20, 105)
HSLhsl(258, 68%, 25%)
HSVhsv(258, 81%, 41%)
CMYKcmyk(56.2%, 81%, 0%, 58.8%)
CIE-LABlab(16.01, 34.87, -44.69)
CIE-LCHlch(16.01, 56.69, 307.96°)
OKLaboklab(29.16% 0.0441 -0.1285)
OKLCHoklch(29.16% 0.136 288.9)
XYZxyz(3.9259, 2.1009, 13.5605)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1469 #4F6914
analogous
#142569 #2E1469 #591469
triadic
#2E1469 #692E14 #14692E
tetradic
#2E1469 #691425 #4F6914 #146959
square
#2E1469 #691425 #4F6914 #146959
split-complementary
#2E1469 #695914 #256914
monochromatic
#0B051A #170A36 #2E1469 #451E9C #5B28D0

Accessibility & contrast

On white

14.79
#2E1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1469
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1469#FFFFFF#000000##FFFFFF
##2E14691.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#172C3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e1469;
/* rgb */ color: rgb(46, 20, 105);
/* oklch */ color: oklch(29.2% 0.136 288.9);
Tailwind
colors: {
  custom: {
    50: '#6e5595',
    500: '#2e1469',
    950: '#000000',
  },
}
SCSS
$custom: #2e1469;
$custom-light: #6e5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1469",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 258.353,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.13588,
    "h": 288.9
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#2E1469
secondary
#80A039
accent
#EB3DB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1469

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

Preview Lab → · Contrast checker → · Palette generator →

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