#2E1663#2E1663

#2E1663 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.8% C 0.126 H 290.5°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2E1663
RGBrgb(46, 22, 99)
HSLhsl(259, 64%, 24%)
HSVhsv(259, 78%, 39%)
CMYKcmyk(53.5%, 77.8%, 0%, 61.2%)
CIE-LABlab(15.78, 31.96, -41.12)
CIE-LCHlch(15.78, 52.08, 307.86°)
OKLaboklab(28.82% 0.0441 -0.1181)
OKLCHoklch(28.82% 0.126 290.5)
XYZxyz(3.6651, 2.0554, 12.0056)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1663 #4B6316
analogous
#162463 #2E1663 #541663
triadic
#2E1663 #632E16 #16632E
tetradic
#2E1663 #631624 #4B6316 #166354
square
#2E1663 #631624 #4B6316 #166354
split-complementary
#2E1663 #635416 #246316
monochromatic
#0C0619 #170B31 #2E1663 #452195 #5D2CC7

Accessibility & contrast

On white

14.88
#2E1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1663
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1663#FFFFFF#000000##FFFFFF
##2E16631.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#1C2B3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1663;
/* rgb */ color: rgb(46, 22, 99);
/* oklch */ color: oklch(28.8% 0.126 290.5);
Tailwind
colors: {
  custom: {
    50: '#6d5690',
    500: '#2e1663',
    950: '#000000',
  },
}
SCSS
$custom: #2e1663;
$custom-light: #6d5690;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1663",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 258.701,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28815,
    "c": 0.12603,
    "h": 290.5
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#2E1663
secondary
#7C9A3B
accent
#E741B3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #2E1663

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

Preview Lab → · Contrast checker → · Palette generator →

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