#2E1353#2E1353

#2E1353 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.109 H 297.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#2E1353
RGBrgb(46, 19, 83)
HSLhsl(265, 63%, 20%)
HSVhsv(265, 77%, 33%)
CMYKcmyk(44.6%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.66, 28.78, -33.84)
CIE-LCHlch(13.66, 44.42, 310.37°)
OKLaboklab(26.84% 0.051 -0.0967)
OKLCHoklch(26.84% 0.109 297.8)
XYZxyz(2.9205, 1.6711, 8.3506)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1353 #385313
analogous
#131853 #2E1353 #4E1353
triadic
#2E1353 #532E13 #13532E
tetradic
#2E1353 #531318 #385313 #13534E
square
#2E1353 #531318 #385313 #13534E
split-complementary
#2E1353 #534E13 #185313
monochromatic
#0E0619 #120821 #2E1353 #4A1E85 #652AB7

Accessibility & contrast

On white

15.74
#2E1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2E1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1353
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1353#FFFFFF#000000##FFFFFF
##2E13531.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1353;
/* rgb */ color: rgb(46, 19, 83);
/* oklch */ color: oklch(26.8% 0.109 297.8);
Tailwind
colors: {
  custom: {
    50: '#6b5384',
    500: '#2e1353',
    950: '#000000',
  },
}
SCSS
$custom: #2e1353;
$custom-light: #6b5384;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1353",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 265.313,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.10933,
    "h": 297.8
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#2E1353
secondary
#688B36
accent
#E642A1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E1353

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

Preview Lab → · Contrast checker → · Palette generator →

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