#2E1053#2E1053

#2E1053 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.113 H 298.6°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#2E1053
RGBrgb(46, 16, 83)
HSLhsl(267, 68%, 19%)
HSVhsv(267, 81%, 33%)
CMYKcmyk(44.6%, 80.7%, 0%, 67.5%)
CIE-LABlab(13.08, 30.39, -34.78)
CIE-LCHlch(13.08, 46.19, 311.15°)
OKLaboklab(26.44% 0.0543 -0.0994)
OKLCHoklch(26.44% 0.113 298.6)
XYZxyz(2.8729, 1.5759, 8.3348)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1053 #355310
analogous
#101353 #2E1053 #501053
triadic
#2E1053 #532E10 #10532E
tetradic
#2E1053 #531013 #355310 #105350
square
#2E1053 #531013 #355310 #105350
split-complementary
#2E1053 #535010 #135310
monochromatic
#0E051A #120620 #2E1053 #4A1A86 #6724BA

Accessibility & contrast

On white

15.97
#2E1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1053
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1053#FFFFFF#000000##FFFFFF
##2E10531.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#252130
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e1053;
/* rgb */ color: rgb(46, 16, 83);
/* oklch */ color: oklch(26.4% 0.113 298.6);
Tailwind
colors: {
  custom: {
    50: '#6b5184',
    500: '#2e1053',
    950: '#000000',
  },
}
SCSS
$custom: #2e1053;
$custom-light: #6b5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1053",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 266.866,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26437,
    "c": 0.11327,
    "h": 298.6
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#2E1053
secondary
#648D32
accent
#EB3D9D
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E1053

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

Preview Lab → · Contrast checker → · Palette generator →

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