#2E1083#2E1083

#2E1083 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.170 H 282.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2E1083
RGBrgb(46, 16, 131)
HSLhsl(256, 78%, 29%)
HSVhsv(256, 88%, 51%)
CMYKcmyk(64.9%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.32, 44.38, -57.62)
CIE-LCHlch(18.32, 72.73, 307.60°)
OKLaboklab(31.63% 0.0372 -0.1662)
OKLCHoklch(31.63% 0.17 282.6)
XYZxyz(5.4075, 2.5897, 21.6832)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1083 #658310
analogous
#102C83 #2E1083 #681083
triadic
#2E1083 #832E10 #10832E
tetradic
#2E1083 #83102C #658310 #108368
square
#2E1083 #83102C #658310 #108368
split-complementary
#2E1083 #836810 #2C8310
monochromatic
#0A031B #1B094C #2E1083 #4117BA #5A29E5

Accessibility & contrast

On white

13.83
#2E1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2E1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1083
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1083#FFFFFF#000000##FFFFFF
##2E10831.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00354C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e1083;
/* rgb */ color: rgb(46, 16, 131);
/* oklch */ color: oklch(31.6% 0.170 282.6);
Tailwind
colors: {
  custom: {
    50: '#7455a8',
    500: '#2e1083',
    950: '#000000',
  },
}
SCSS
$custom: #2e1083;
$custom-light: #7455a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1083",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 255.652,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31629,
    "c": 0.17029,
    "h": 282.6
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#2E1083
secondary
#97B936
accent
#F533C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #2E1083

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

Preview Lab → · Contrast checker → · Palette generator →

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