#2E1553#2E1553

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

Color values

HEX#2E1553
RGBrgb(46, 21, 83)
HSLhsl(264, 60%, 20%)
HSVhsv(264, 75%, 33%)
CMYKcmyk(44.6%, 74.7%, 0%, 67.5%)
CIE-LABlab(14.07, 27.63, -33.17)
CIE-LCHlch(14.07, 43.17, 309.79°)
OKLaboklab(27.14% 0.0487 -0.0947)
OKLCHoklch(27.14% 0.107 297.2)
XYZxyz(2.9558, 1.7417, 8.3624)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1553 #3A5315
analogous
#151B53 #2E1553 #4D1553
triadic
#2E1553 #532E15 #15532E
tetradic
#2E1553 #53151B #3A5315 #15534D
square
#2E1553 #53151B #3A5315 #15534D
split-complementary
#2E1553 #534D15 #1B5315
monochromatic
#0E0618 #130922 #2E1553 #492184 #642EB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E1553#FFFFFF#000000##FFFFFF
##2E15531.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)
#002455
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#252432
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e1553;
/* rgb */ color: rgb(46, 21, 83);
/* oklch */ color: oklch(27.1% 0.107 297.2);
Tailwind
colors: {
  custom: {
    50: '#6b5484',
    500: '#2e1553',
    950: '#000000',
  },
}
SCSS
$custom: #2e1553;
$custom-light: #6b5484;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1553",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 264.194,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27137,
    "c": 0.10652,
    "h": 297.2
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#2E1553
secondary
#6A8B39
accent
#E345A3
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1553

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

Preview Lab → · Contrast checker → · Palette generator →

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