#2E1869#2E1869

#2E1869 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.131 H 288.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#2E1869
RGBrgb(46, 24, 105)
HSLhsl(256, 63%, 25%)
HSVhsv(256, 77%, 41%)
CMYKcmyk(56.2%, 77.1%, 0%, 58.8%)
CIE-LABlab(16.77, 32.72, -43.45)
CIE-LCHlch(16.77, 54.39, 306.98°)
OKLaboklab(29.7% 0.0407 -0.1249)
OKLCHoklch(29.7% 0.131 288)
XYZxyz(4.0024, 2.2538, 13.5860)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1869 #536918
analogous
#182B69 #2E1869 #561869
triadic
#2E1869 #692E18 #18692E
tetradic
#2E1869 #69182B #536918 #186956
square
#2E1869 #69182B #536918 #186956
split-complementary
#2E1869 #695618 #2B6918
monochromatic
#0B0619 #180D37 #2E1869 #44239B #5A2FCD

Accessibility & contrast

On white

14.47
#2E1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1869
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1869#FFFFFF#000000##FFFFFF
##2E18691.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#172E3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e1869;
/* rgb */ color: rgb(46, 24, 105);
/* oklch */ color: oklch(29.7% 0.131 288.0);
Tailwind
colors: {
  custom: {
    50: '#6e5795',
    500: '#2e1869',
    950: '#000000',
  },
}
SCSS
$custom: #2e1869;
$custom-light: #6e5795;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1869",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 256.296,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29698,
    "c": 0.13135,
    "h": 288
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#2E1869
secondary
#859F3E
accent
#E642B9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1869

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

Preview Lab → · Contrast checker → · Palette generator →

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