#2E1969#2E1969

#2E1969 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.130 H 287.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#2E1969
RGBrgb(46, 25, 105)
HSLhsl(256, 62%, 25%)
HSVhsv(256, 76%, 41%)
CMYKcmyk(56.2%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.97, 32.15, -43.11)
CIE-LCHlch(16.97, 53.78, 306.71°)
OKLaboklab(29.84% 0.0398 -0.1239)
OKLCHoklch(29.84% 0.13 287.8)
XYZxyz(4.0234, 2.2958, 13.5930)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1969 #546919
analogous
#192C69 #2E1969 #561969
triadic
#2E1969 #692E19 #19692E
tetradic
#2E1969 #69192C #546919 #196956
square
#2E1969 #69192C #546919 #196956
split-complementary
#2E1969 #695619 #2C6919
monochromatic
#0B0619 #180D38 #2E1969 #44259A #5931CC

Accessibility & contrast

On white

14.39
#2E1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1969
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1969#FFFFFF#000000##FFFFFF
##2E19691.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#172E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e1969;
/* rgb */ color: rgb(46, 25, 105);
/* oklch */ color: oklch(29.8% 0.130 287.8);
Tailwind
colors: {
  custom: {
    50: '#6e5895',
    500: '#2e1969',
    950: '#000000',
  },
}
SCSS
$custom: #2e1969;
$custom-light: #6e5895;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1969",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 255.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29841,
    "c": 0.13016,
    "h": 287.8
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#2E1969
secondary
#869F3F
accent
#E543BA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1969

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

Preview Lab → · Contrast checker → · Palette generator →

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