#2E1365#2E1365

#2E1365 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.132 H 290.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#2E1365
RGBrgb(46, 19, 101)
HSLhsl(260, 68%, 24%)
HSVhsv(260, 81%, 40%)
CMYKcmyk(54.5%, 81.2%, 0%, 60.4%)
CIE-LABlab(15.41, 34.17, -43.03)
CIE-LCHlch(15.41, 54.95, 308.45°)
OKLaboklab(28.62% 0.0462 -0.1237)
OKLCHoklch(28.62% 0.132 290.5)
XYZxyz(3.7079, 1.9860, 12.4974)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1365 #4A6513
analogous
#132165 #2E1365 #571365
triadic
#2E1365 #652E13 #13652E
tetradic
#2E1365 #651321 #4A6513 #136557
square
#2E1365 #651321 #4A6513 #136557
split-complementary
#2E1365 #655713 #216513
monochromatic
#0C051A #170931 #2E1365 #451D99 #5D26CC

Accessibility & contrast

On white

15.03
#2E1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1365
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1365#FFFFFF#000000##FFFFFF
##2E13651.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#1A2A3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e1365;
/* rgb */ color: rgb(46, 19, 101);
/* oklch */ color: oklch(28.6% 0.132 290.5);
Tailwind
colors: {
  custom: {
    50: '#6e5492',
    500: '#2e1365',
    950: '#000000',
  },
}
SCSS
$custom: #2e1365;
$custom-light: #6e5492;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1365",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 259.756,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28622,
    "c": 0.13201,
    "h": 290.5
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#2E1365
secondary
#7B9D37
accent
#EB3DB2
background
#F6F5F9
surface
#ECE8F1
border
#C7C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1365

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

Preview Lab → · Contrast checker → · Palette generator →

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