#2E105F#2E105F

#2E105F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.128 H 293.3°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#2E105F
RGBrgb(46, 16, 95)
HSLhsl(263, 71%, 22%)
HSVhsv(263, 83%, 37%)
CMYKcmyk(51.6%, 83.2%, 0%, 62.7%)
CIE-LABlab(14.27, 33.89, -40.92)
CIE-LCHlch(14.27, 53.13, 309.63°)
OKLaboklab(27.64% 0.0507 -0.1174)
OKLCHoklch(27.64% 0.128 293.3)
XYZxyz(3.3770, 1.7775, 10.9894)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E105F #415F10
analogous
#101A5F #2E105F #56105F
triadic
#2E105F #5F2E10 #105F2E
tetradic
#2E105F #5F101A #415F10 #105F56
square
#2E105F #5F101A #415F10 #105F56
split-complementary
#2E105F #5F5610 #1A5F10
monochromatic
#0D041A #15072B #2E105F #471993 #6122C8

Accessibility & contrast

On white

15.49
#2E105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2E105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E105F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E105F#FFFFFF#000000##FFFFFF
##2E105F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e105f;
/* rgb */ color: rgb(46, 16, 95);
/* oklch */ color: oklch(27.6% 0.128 293.3);
Tailwind
colors: {
  custom: {
    50: '#6d528d',
    500: '#2e105f',
    950: '#000000',
  },
}
SCSS
$custom: #2e105f;
$custom-light: #6d528d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e105f",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 262.785,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27637,
    "c": 0.12791,
    "h": 293.3
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#2E105F
secondary
#729833
accent
#EE3AAA
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2E105F

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

Preview Lab → · Contrast checker → · Palette generator →

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