#2E1669#2E1669

#2E1669 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.134 H 288.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#2E1669
RGBrgb(46, 22, 105)
HSLhsl(257, 65%, 25%)
HSVhsv(257, 79%, 41%)
CMYKcmyk(56.2%, 79%, 0%, 58.8%)
CIE-LABlab(16.38, 33.82, -44.09)
CIE-LCHlch(16.38, 55.56, 307.49°)
OKLaboklab(29.42% 0.0424 -0.1268)
OKLCHoklch(29.42% 0.134 288.5)
XYZxyz(3.9627, 2.1744, 13.5728)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1669 #516916
analogous
#162869 #2E1669 #571669
triadic
#2E1669 #692E16 #16692E
tetradic
#2E1669 #691628 #516916 #166957
square
#2E1669 #691628 #516916 #166957
split-complementary
#2E1669 #695716 #286916
monochromatic
#0B0519 #180B36 #2E1669 #44219C #5A2BCE

Accessibility & contrast

On white

14.63
#2E1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1669
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1669#FFFFFF#000000##FFFFFF
##2E16691.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#172D3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e1669;
/* rgb */ color: rgb(46, 22, 105);
/* oklch */ color: oklch(29.4% 0.134 288.5);
Tailwind
colors: {
  custom: {
    50: '#6e5695',
    500: '#2e1669',
    950: '#000000',
  },
}
SCSS
$custom: #2e1669;
$custom-light: #6e5695;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1669",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 257.349,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29423,
    "c": 0.13368,
    "h": 288.5
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#2E1669
secondary
#839F3B
accent
#E83FB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1669

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

Preview Lab → · Contrast checker → · Palette generator →

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