#2E1369#2E1369

#2E1369 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.137 H 289.1°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2E1369
RGBrgb(46, 19, 105)
HSLhsl(259, 69%, 24%)
HSVhsv(259, 82%, 41%)
CMYKcmyk(56.2%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.83, 35.38, -44.98)
CIE-LCHlch(15.83, 57.23, 308.19°)
OKLaboklab(29.04% 0.0449 -0.1294)
OKLCHoklch(29.04% 0.137 289.1)
XYZxyz(3.9086, 2.0663, 13.5547)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1369 #4E6913
analogous
#132369 #2E1369 #591369
triadic
#2E1369 #692E13 #13692E
tetradic
#2E1369 #691323 #4E6913 #136959
square
#2E1369 #691323 #4E6913 #136959
split-complementary
#2E1369 #695913 #236913
monochromatic
#0B051A #170A35 #2E1369 #451C9D #5B26D1

Accessibility & contrast

On white

14.86
#2E1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E1369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1369
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1369#FFFFFF#000000##FFFFFF
##2E13691.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#172C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1369;
/* rgb */ color: rgb(46, 19, 105);
/* oklch */ color: oklch(29.0% 0.137 289.1);
Tailwind
colors: {
  custom: {
    50: '#6f5495',
    500: '#2e1369',
    950: '#000000',
  },
}
SCSS
$custom: #2e1369;
$custom-light: #6f5495;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1369",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 258.837,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.13694,
    "h": 289.1
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#2E1369
secondary
#7FA038
accent
#EC3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1369

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

Preview Lab → · Contrast checker → · Palette generator →

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