#2E1059#2E1059

#2E1059 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.121 H 295.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#2E1059
RGBrgb(46, 16, 89)
HSLhsl(265, 70%, 21%)
HSVhsv(265, 82%, 35%)
CMYKcmyk(48.3%, 82%, 0%, 65.1%)
CIE-LABlab(13.67, 32.13, -37.89)
CIE-LCHlch(13.67, 49.68, 310.30°)
OKLaboklab(27.03% 0.0526 -0.1086)
OKLCHoklch(27.03% 0.121 295.8)
XYZxyz(3.1147, 1.6726, 9.6080)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1059 #3B5910
analogous
#101659 #2E1059 #521059
triadic
#2E1059 #592E10 #10592E
tetradic
#2E1059 #591016 #3B5910 #105952
square
#2E1059 #591016 #3B5910 #105952
split-complementary
#2E1059 #595210 #165910
monochromatic
#0D051A #130725 #2E1059 #49198D #6423C1

Accessibility & contrast

On white

15.74
#2E1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2E1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1059
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1059#FFFFFF#000000##FFFFFF
##2E10591.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#222434
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2e1059;
/* rgb */ color: rgb(46, 16, 89);
/* oklch */ color: oklch(27.0% 0.121 295.8);
Tailwind
colors: {
  custom: {
    50: '#6c5289',
    500: '#2e1059',
    950: '#000000',
  },
}
SCSS
$custom: #2e1059;
$custom-light: #6c5289;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1059",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 264.658,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27027,
    "c": 0.12063,
    "h": 295.8
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#2E1059
secondary
#6B9233
accent
#EC3BA4
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E1059

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

Preview Lab → · Contrast checker → · Palette generator →

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