#2E1055#2E1055

#2E1055 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.116 H 297.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#2E1055
RGBrgb(46, 16, 85)
HSLhsl(266, 68%, 20%)
HSVhsv(266, 81%, 33%)
CMYKcmyk(45.9%, 81.2%, 0%, 66.7%)
CIE-LABlab(13.27, 30.97, -35.83)
CIE-LCHlch(13.27, 47.36, 310.85°)
OKLaboklab(26.63% 0.0538 -0.1025)
OKLCHoklch(26.63% 0.116 297.7)
XYZxyz(2.9513, 1.6072, 8.7473)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1055 #375510
analogous
#101455 #2E1055 #511055
triadic
#2E1055 #552E10 #10552E
tetradic
#2E1055 #551014 #375510 #105551
square
#2E1055 #551014 #375510 #105551
split-complementary
#2E1055 #555110 #145510
monochromatic
#0E051A #120621 #2E1055 #4A1A89 #6623BC

Accessibility & contrast

On white

15.89
#2E1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1055
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1055#FFFFFF#000000##FFFFFF
##2E10551.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#242232
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1055;
/* rgb */ color: rgb(46, 16, 85);
/* oklch */ color: oklch(26.6% 0.116 297.7);
Tailwind
colors: {
  custom: {
    50: '#6b5286',
    500: '#2e1055',
    950: '#000000',
  },
}
SCSS
$custom: #2e1055;
$custom-light: #6b5286;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1055",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 266.087,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26631,
    "c": 0.11573,
    "h": 297.7
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#2E1055
secondary
#668F32
accent
#EB3D9F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E1055

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

Preview Lab → · Contrast checker → · Palette generator →

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