#2E105D#2E105D

#2E105D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.125 H 294.1°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#2E105D
RGBrgb(46, 16, 93)
HSLhsl(263, 71%, 21%)
HSVhsv(263, 83%, 36%)
CMYKcmyk(50.5%, 82.8%, 0%, 63.5%)
CIE-LABlab(14.07, 33.30, -39.92)
CIE-LCHlch(14.07, 51.99, 309.83°)
OKLaboklab(27.43% 0.0513 -0.1145)
OKLCHoklch(27.43% 0.125 294.1)
XYZxyz(3.2872, 1.7416, 10.5168)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E105D #3F5D10
analogous
#10195D #2E105D #55105D
triadic
#2E105D #5D2E10 #105D2E
tetradic
#2E105D #5D1019 #3F5D10 #105D55
square
#2E105D #5D1019 #3F5D10 #105D55
split-complementary
#2E105D #5D5510 #195D10
monochromatic
#0D041A #140729 #2E105D #481991 #6222C5

Accessibility & contrast

On white

15.57
#2E105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2E105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E105D
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E105D#FFFFFF#000000##FFFFFF
##2E105D1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#202536
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e105d;
/* rgb */ color: rgb(46, 16, 93);
/* oklch */ color: oklch(27.4% 0.125 294.1);
Tailwind
colors: {
  custom: {
    50: '#6d528c',
    500: '#2e105d',
    950: '#000000',
  },
}
SCSS
$custom: #2e105d;
$custom-light: #6d528c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e105d",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 263.377,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27432,
    "c": 0.12549,
    "h": 294.1
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#2E105D
secondary
#6F9633
accent
#ED3AA8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2E105D

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

Preview Lab → · Contrast checker → · Palette generator →

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