#2E1359#2E1359

#2E1359 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.117 H 295.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#2E1359
RGBrgb(46, 19, 89)
HSLhsl(263, 65%, 21%)
HSVhsv(263, 79%, 35%)
CMYKcmyk(48.3%, 78.7%, 0%, 65.1%)
CIE-LABlab(14.22, 30.56, -36.99)
CIE-LCHlch(14.22, 47.98, 309.57°)
OKLaboklab(27.42% 0.0496 -0.1059)
OKLCHoklch(27.42% 0.117 295.1)
XYZxyz(3.1623, 1.7678, 9.6239)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1359 #3E5913
analogous
#131B59 #2E1359 #511359
triadic
#2E1359 #592E13 #13592E
tetradic
#2E1359 #59131B #3E5913 #135951
square
#2E1359 #59131B #3E5913 #135951
split-complementary
#2E1359 #595113 #1B5913
monochromatic
#0D0519 #140827 #2E1359 #481E8B #6229BE

Accessibility & contrast

On white

15.51
#2E1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1359
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1359#FFFFFF#000000##FFFFFF
##2E13591.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#222535
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e1359;
/* rgb */ color: rgb(46, 19, 89);
/* oklch */ color: oklch(27.4% 0.117 295.1);
Tailwind
colors: {
  custom: {
    50: '#6c5389',
    500: '#2e1359',
    950: '#000000',
  },
}
SCSS
$custom: #2e1359;
$custom-light: #6c5389;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1359",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 263.143,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27415,
    "c": 0.11698,
    "h": 295.1
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#2E1359
secondary
#6E9137
accent
#E840A7
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1359

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

Preview Lab → · Contrast checker → · Palette generator →

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