#2E108D#2E108D

#2E108D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.182 H 280.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2E108D
RGBrgb(46, 16, 141)
HSLhsl(254, 80%, 31%)
HSVhsv(254, 89%, 55%)
CMYKcmyk(67.4%, 88.7%, 0%, 44.7%)
CIE-LABlab(19.53, 47.23, -61.90)
CIE-LCHlch(19.53, 77.86, 307.34°)
OKLaboklab(32.81% 0.0333 -0.1786)
OKLCHoklch(32.81% 0.182 280.6)
XYZxyz(6.1182, 2.8740, 25.4265)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E108D #6F8D10
analogous
#10308D #2E108D #6C108D
triadic
#2E108D #8D2E10 #108D2E
tetradic
#2E108D #8D1030 #6F8D10 #108D6C
square
#2E108D #8D1030 #6F8D10 #108D6C
split-complementary
#2E108D #8D6C10 #308D10
monochromatic
#0A041F #1C0A56 #2E108D #4016C4 #5C30E7

Accessibility & contrast

On white

13.33
#2E108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E108D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E108D#FFFFFF#000000##FFFFFF
##2E108D1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e108d;
/* rgb */ color: rgb(46, 16, 141);
/* oklch */ color: oklch(32.8% 0.182 280.6);
Tailwind
colors: {
  custom: {
    50: '#7656b0',
    500: '#2e108d',
    950: '#000000',
  },
}
SCSS
$custom: #2e108d;
$custom-light: #7656b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e108d",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 254.4,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.18169,
    "h": 280.6
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#2E108D
secondary
#A0C237
accent
#F632C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #2E108D

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

Preview Lab → · Contrast checker → · Palette generator →

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