#2E1453#2E1453

#2E1453 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.108 H 297.5°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#2E1453
RGBrgb(46, 20, 83)
HSLhsl(265, 61%, 20%)
HSVhsv(265, 76%, 33%)
CMYKcmyk(44.6%, 75.9%, 0%, 67.5%)
CIE-LABlab(13.86, 28.21, -33.51)
CIE-LCHlch(13.86, 43.80, 310.09°)
OKLaboklab(26.99% 0.0499 -0.0957)
OKLCHoklch(26.99% 0.108 297.5)
XYZxyz(2.9378, 1.7056, 8.3564)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1453 #395314
analogous
#141953 #2E1453 #4D1453
triadic
#2E1453 #532E14 #14532E
tetradic
#2E1453 #531419 #395314 #14534D
square
#2E1453 #531419 #395314 #14534D
split-complementary
#2E1453 #534D14 #195314
monochromatic
#0E0619 #130822 #2E1453 #492084 #652CB6

Accessibility & contrast

On white

15.66
#2E1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2E1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1453
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1453#FFFFFF#000000##FFFFFF
##2E14531.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#252331
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e1453;
/* rgb */ color: rgb(46, 20, 83);
/* oklch */ color: oklch(27.0% 0.108 297.5);
Tailwind
colors: {
  custom: {
    50: '#6b5484',
    500: '#2e1453',
    950: '#000000',
  },
}
SCSS
$custom: #2e1453;
$custom-light: #6b5484;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1453",
  "rgb": {
    "r": 46,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 264.762,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.10795,
    "h": 297.5
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#2E1453
secondary
#698B38
accent
#E444A2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1453

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

Preview Lab → · Contrast checker → · Palette generator →

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