#2E1067#2E1067

#2E1067 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.138 H 290.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#2E1067
RGBrgb(46, 16, 103)
HSLhsl(261, 73%, 23%)
HSVhsv(261, 84%, 40%)
CMYKcmyk(55.3%, 84.5%, 0%, 59.6%)
CIE-LABlab(15.12, 36.23, -44.84)
CIE-LCHlch(15.12, 57.65, 308.94°)
OKLaboklab(28.48% 0.0479 -0.1289)
OKLCHoklch(28.48% 0.138 290.4)
XYZxyz(3.7595, 1.9305, 13.0039)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1067 #496710
analogous
#101D67 #2E1067 #591067
triadic
#2E1067 #672E10 #10672E
tetradic
#2E1067 #67101D #496710 #106759
square
#2E1067 #67101D #496710 #106759
split-complementary
#2E1067 #675910 #1D6710
monochromatic
#0C041A #160832 #2E1067 #46189C #5D20D1

Accessibility & contrast

On white

15.15
#2E1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1067
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1067#FFFFFF#000000##FFFFFF
##2E10671.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#192A3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e1067;
/* rgb */ color: rgb(46, 16, 103);
/* oklch */ color: oklch(28.5% 0.138 290.4);
Tailwind
colors: {
  custom: {
    50: '#6e5393',
    500: '#2e1067',
    950: '#000000',
  },
}
SCSS
$custom: #2e1067;
$custom-light: #6e5393;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1067",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 260.69,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28481,
    "c": 0.13753,
    "h": 290.4
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#2E1067
secondary
#7A9F33
accent
#F038B0
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08020D
muted
#7B787E

Preview Lab

Preview with #2E1067

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

Preview Lab → · Contrast checker → · Palette generator →

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