#2E1685#2E1685

#2E1685 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.168 H 281.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2E1685
RGBrgb(46, 22, 133)
HSLhsl(253, 72%, 30%)
HSVhsv(253, 83%, 52%)
CMYKcmyk(65.4%, 83.5%, 0%, 47.8%)
CIE-LABlab(19.42, 42.40, -57.06)
CIE-LCHlch(19.42, 71.09, 306.62°)
OKLaboklab(32.46% 0.0335 -0.1646)
OKLCHoklch(32.46% 0.168 281.5)
XYZxyz(5.6459, 2.8477, 22.4379)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1685 #6D8516
analogous
#163585 #2E1685 #651685
triadic
#2E1685 #852E16 #16852E
tetradic
#2E1685 #851635 #6D8516 #168565
square
#2E1685 #851635 #6D8516 #168565
split-complementary
#2E1685 #856516 #358516
monochromatic
#0A051C #1C0D50 #2E1685 #401FBA #5B37DE

Accessibility & contrast

On white

13.38
#2E1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E1685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1685
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1685#FFFFFF#000000##FFFFFF
##2E16851.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e1685;
/* rgb */ color: rgb(46, 22, 133);
/* oklch */ color: oklch(32.5% 0.168 281.5);
Tailwind
colors: {
  custom: {
    50: '#7458aa',
    500: '#2e1685',
    950: '#000000',
  },
}
SCSS
$custom: #2e1685;
$custom-light: #7458aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1685",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 252.973,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.16802,
    "h": 281.5
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#2E1685
secondary
#9FB93E
accent
#EE39C7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #2E1685

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

Preview Lab → · Contrast checker → · Palette generator →

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