#2E105A#2E105A

#2E105A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.122 H 295.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#2E105A
RGBrgb(46, 16, 90)
HSLhsl(264, 70%, 21%)
HSVhsv(264, 82%, 35%)
CMYKcmyk(48.9%, 82.2%, 0%, 64.7%)
CIE-LABlab(13.77, 32.43, -38.40)
CIE-LCHlch(13.77, 50.26, 310.18°)
OKLaboklab(27.13% 0.0523 -0.1101)
OKLCHoklch(27.13% 0.122 295.4)
XYZxyz(3.1570, 1.6895, 9.8307)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E105A #3C5A10
analogous
#10175A #2E105A #53105A
triadic
#2E105A #5A2E10 #105A2E
tetradic
#2E105A #5A1017 #3C5A10 #105A53
square
#2E105A #5A1017 #3C5A10 #105A53
split-complementary
#2E105A #5A5310 #175A10
monochromatic
#0D051A #130726 #2E105A #49198E #6322C2

Accessibility & contrast

On white

15.70
#2E105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2E105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E105A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E105A#FFFFFF#000000##FFFFFF
##2E105A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#222434
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e105a;
/* rgb */ color: rgb(46, 16, 90);
/* oklch */ color: oklch(27.1% 0.122 295.4);
Tailwind
colors: {
  custom: {
    50: '#6c5289',
    500: '#2e105a',
    950: '#000000',
  },
}
SCSS
$custom: #2e105a;
$custom-light: #6c5289;
$custom-dark: #000000;
JSON
{
  "hex": "#2e105a",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 264.324,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.12185,
    "h": 295.4
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#2E105A
secondary
#6C9333
accent
#ED3BA5
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2E105A

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

Preview Lab → · Contrast checker → · Palette generator →

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