#2E1349#2E1349

#2E1349 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.096 H 303.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2E1349
RGBrgb(46, 19, 73)
HSLhsl(270, 59%, 18%)
HSVhsv(270, 74%, 29%)
CMYKcmyk(37%, 74%, 0%, 71.4%)
CIE-LABlab(12.78, 25.85, -28.39)
CIE-LCHlch(12.78, 38.40, 312.32°)
OKLaboklab(25.94% 0.0528 -0.0806)
OKLCHoklch(25.94% 0.096 303.2)
XYZxyz(2.5619, 1.5276, 6.4619)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1349 #2E4913
analogous
#131349 #2E1349 #491349
triadic
#2E1349 #492E13 #13492E
tetradic
#2E1349 #491313 #2E4913 #134949
square
#2E1349 #491313 #2E4913 #134949
split-complementary
#2E1349 #494913 #134913
monochromatic
#0F0618 #0F0618 #2E1349 #4D207A #6B2CAA

Accessibility & contrast

On white

16.08
#2E1349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E1349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1349
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1349#FFFFFF#000000##FFFFFF
##2E13491.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#012148
Tritanopia (blue-blind)
#291F2C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1349;
/* rgb */ color: rgb(46, 19, 73);
/* oklch */ color: oklch(25.9% 0.096 303.2);
Tailwind
colors: {
  custom: {
    50: '#6a537c',
    500: '#2e1349',
    950: '#000000',
  },
}
SCSS
$custom: #2e1349;
$custom-light: #6a537c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1349",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 270,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25944,
    "c": 0.09639,
    "h": 303.2
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#2E1349
secondary
#5C8236
accent
#E24694
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2E1349

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

Preview Lab → · Contrast checker → · Palette generator →

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