#2E105E#2E105E

#2E105E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.127 H 293.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#2E105E
RGBrgb(46, 16, 94)
HSLhsl(263, 71%, 22%)
HSVhsv(263, 83%, 37%)
CMYKcmyk(51.1%, 83%, 0%, 63.1%)
CIE-LABlab(14.17, 33.59, -40.42)
CIE-LCHlch(14.17, 52.56, 309.73°)
OKLaboklab(27.53% 0.051 -0.116)
OKLCHoklch(27.53% 0.127 293.7)
XYZxyz(3.3318, 1.7595, 10.7516)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E105E #405E10
analogous
#10195E #2E105E #55105E
triadic
#2E105E #5E2E10 #105E2E
tetradic
#2E105E #5E1019 #405E10 #105E55
square
#2E105E #5E1019 #405E10 #105E55
split-complementary
#2E105E #5E5510 #195E10
monochromatic
#0D041A #14072A #2E105E #481992 #6122C7

Accessibility & contrast

On white

15.53
#2E105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E105E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E105E#FFFFFF#000000##FFFFFF
##2E105E1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#1F2637
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e105e;
/* rgb */ color: rgb(46, 16, 94);
/* oklch */ color: oklch(27.5% 0.127 293.7);
Tailwind
colors: {
  custom: {
    50: '#6d528c',
    500: '#2e105e',
    950: '#000000',
  },
}
SCSS
$custom: #2e105e;
$custom-light: #6d528c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e105e",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 263.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.12671,
    "h": 293.7
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#2E105E
secondary
#709733
accent
#EE3AA9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2E105E

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

Preview Lab → · Contrast checker → · Palette generator →

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