#2E1650#2E1650

#2E1650 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.101 H 298.3°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#2E1650
RGBrgb(46, 22, 80)
HSLhsl(265, 57%, 20%)
HSVhsv(265, 73%, 31%)
CMYKcmyk(42.5%, 72.5%, 0%, 68.6%)
CIE-LABlab(14.02, 26.13, -31.20)
CIE-LCHlch(14.02, 40.69, 309.95°)
OKLaboklab(27.02% 0.048 -0.0889)
OKLCHoklch(27.02% 0.101 298.3)
XYZxyz(2.8612, 1.7338, 7.7718)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1650 #385016
analogous
#161B50 #2E1650 #4B1650
triadic
#2E1650 #502E16 #16502E
tetradic
#2E1650 #50161B #385016 #16504B
square
#2E1650 #50161B #385016 #16504B
split-complementary
#2E1650 #504B16 #1B5016
monochromatic
#0E0718 #120920 #2E1650 #4A2380 #6530B0

Accessibility & contrast

On white

15.59
#2E1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E1650
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1650#FFFFFF#000000##FFFFFF
##2E16501.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#262330
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e1650;
/* rgb */ color: rgb(46, 22, 80);
/* oklch */ color: oklch(27.0% 0.101 298.3);
Tailwind
colors: {
  custom: {
    50: '#6a5582',
    500: '#2e1650',
    950: '#000000',
  },
}
SCSS
$custom: #2e1650;
$custom-light: #6a5582;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1650",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 264.828,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.27022,
    "c": 0.10104,
    "h": 298.3
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#2E1650
secondary
#68873A
accent
#E048A1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #2E1650

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

Preview Lab → · Contrast checker → · Palette generator →

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