#2E1646#2E1646

#2E1646 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.087 H 304.0°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#2E1646
RGBrgb(46, 22, 70)
HSLhsl(270, 52%, 18%)
HSVhsv(270, 69%, 27%)
CMYKcmyk(34.3%, 68.6%, 0%, 72.5%)
CIE-LABlab(13.21, 23.16, -25.61)
CIE-LCHlch(13.21, 34.53, 312.12°)
OKLaboklab(26.18% 0.0489 -0.0725)
OKLCHoklch(26.18% 0.087 304)
XYZxyz(2.5189, 1.5969, 5.9687)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1646 #2E4616
analogous
#161646 #2E1646 #461646
triadic
#2E1646 #462E16 #16462E
tetradic
#2E1646 #461616 #2E4616 #164646
square
#2E1646 #461616 #2E4616 #164646
split-complementary
#2E1646 #464616 #164616
monochromatic
#0F0717 #0F0717 #2E1646 #4D2575 #6B33A3

Accessibility & contrast

On white

15.92
#2E1646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E1646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1646
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1646#FFFFFF#000000##FFFFFF
##2E16461.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0A2245
Tritanopia (blue-blind)
#2A202B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1646;
/* rgb */ color: rgb(46, 22, 70);
/* oklch */ color: oklch(26.2% 0.087 304.0);
Tailwind
colors: {
  custom: {
    50: '#69547a',
    500: '#2e1646',
    950: '#000000',
  },
}
SCSS
$custom: #2e1646;
$custom-light: #69547a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1646",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26177,
    "c": 0.08746,
    "h": 304
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#2E1646
secondary
#5C7D3A
accent
#DC4C94
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #2E1646

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

Preview Lab → · Contrast checker → · Palette generator →

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