#2E1356#2E1356

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

Color values

HEX#2E1356
RGBrgb(46, 19, 86)
HSLhsl(264, 64%, 21%)
HSVhsv(264, 78%, 34%)
CMYKcmyk(46.5%, 77.9%, 0%, 66.3%)
CIE-LABlab(13.93, 29.67, -35.43)
CIE-LCHlch(13.93, 46.21, 309.94°)
OKLaboklab(27.13% 0.0504 -0.1013)
OKLCHoklch(27.13% 0.113 296.4)
XYZxyz(3.0389, 1.7184, 8.9739)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1356 #3B5613
analogous
#131956 #2E1356 #4F1356
triadic
#2E1356 #562E13 #13562E
tetradic
#2E1356 #561319 #3B5613 #13564F
square
#2E1356 #561319 #3B5613 #13564F
split-complementary
#2E1356 #564F13 #195613
monochromatic
#0D0619 #130824 #2E1356 #491E88 #6429BA

Accessibility & contrast

On white

15.63
#2E1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1356
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1356#FFFFFF#000000##FFFFFF
##2E13561.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e1356;
/* rgb */ color: rgb(46, 19, 86);
/* oklch */ color: oklch(27.1% 0.113 296.4);
Tailwind
colors: {
  custom: {
    50: '#6b5386',
    500: '#2e1356',
    950: '#000000',
  },
}
SCSS
$custom: #2e1356;
$custom-light: #6b5386;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1356",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 264.179,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27126,
    "c": 0.11317,
    "h": 296.4
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#2E1356
secondary
#6B8E36
accent
#E741A4
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E1356

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

Preview Lab → · Contrast checker → · Palette generator →

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