#2E109F#2E109F

#2E109F is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.0% C 0.202 H 277.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2E109F
RGBrgb(46, 16, 159)
HSLhsl(253, 82%, 34%)
HSVhsv(253, 90%, 62%)
CMYKcmyk(71.1%, 89.9%, 0%, 37.6%)
CIE-LABlab(21.78, 52.27, -69.29)
CIE-LCHlch(21.78, 86.80, 307.03°)
OKLaboklab(34.98% 0.0265 -0.2001)
OKLCHoklch(34.98% 0.202 277.5)
XYZxyz(7.5680, 3.4539, 33.0620)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E109F #819F10
analogous
#103A9F #2E109F #75109F
triadic
#2E109F #9F2E10 #109F2E
tetradic
#2E109F #9F103A #819F10 #109F75
square
#2E109F #9F103A #819F10 #109F75
split-complementary
#2E109F #9F7510 #3A9F10
monochromatic
#0E0530 #1E0A67 #2E109F #3E16D7 #623EEC

Accessibility & contrast

On white

12.42
#2E109F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E109F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E109F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E109F#FFFFFF#000000##FFFFFF
##2E109F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e109f;
/* rgb */ color: rgb(46, 16, 159);
/* oklch */ color: oklch(35.0% 0.202 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a58bd',
    500: '#2e109f',
    950: '#000000',
  },
}
SCSS
$custom: #2e109f;
$custom-light: #7a58bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e109f",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 159
  },
  "hsl": {
    "h": 252.587,
    "s": 81.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.20182,
    "h": 277.5
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#2E109F
secondary
#AECB40
accent
#F830CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E109F

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

Preview Lab → · Contrast checker → · Palette generator →

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