#2E1649#2E1649

#2E1649 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.092 H 302.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#2E1649
RGBrgb(46, 22, 73)
HSLhsl(268, 54%, 19%)
HSVhsv(268, 70%, 29%)
CMYKcmyk(37%, 69.9%, 0%, 71.4%)
CIE-LABlab(13.45, 24.04, -27.32)
CIE-LCHlch(13.45, 36.39, 311.35°)
OKLaboklab(26.42% 0.0487 -0.0775)
OKLCHoklch(26.42% 0.092 302.2)
XYZxyz(2.6159, 1.6357, 6.4799)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1649 #314916
analogous
#161749 #2E1649 #471649
triadic
#2E1649 #492E16 #16492E
tetradic
#2E1649 #491617 #314916 #164947
square
#2E1649 #491617 #314916 #164947
split-complementary
#2E1649 #494716 #174916
monochromatic
#0F0718 #10081A #2E1649 #4C2478 #6932A7

Accessibility & contrast

On white

15.82
#2E1649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1649
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1649#FFFFFF#000000##FFFFFF
##2E16491.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#062248
Tritanopia (blue-blind)
#29212D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1649;
/* rgb */ color: rgb(46, 22, 73);
/* oklch */ color: oklch(26.4% 0.092 302.2);
Tailwind
colors: {
  custom: {
    50: '#69557c',
    500: '#2e1649',
    950: '#000000',
  },
}
SCSS
$custom: #2e1649;
$custom-light: #69557c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1649",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 268.235,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.09155,
    "h": 302.2
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#2E1649
secondary
#5F803A
accent
#DD4B98
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #2E1649

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

Preview Lab → · Contrast checker → · Palette generator →

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