#2E1655#2E1655

#2E1655 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.108 H 296.0°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#2E1655
RGBrgb(46, 22, 85)
HSLhsl(263, 59%, 21%)
HSVhsv(263, 74%, 33%)
CMYKcmyk(45.9%, 74.1%, 0%, 66.7%)
CIE-LABlab(14.46, 27.65, -33.89)
CIE-LCHlch(14.46, 43.74, 309.20°)
OKLaboklab(27.47% 0.0472 -0.0968)
OKLCHoklch(27.47% 0.108 296)
XYZxyz(3.0529, 1.8105, 8.7812)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1655 #3D5516
analogous
#161D55 #2E1655 #4D1655
triadic
#2E1655 #552E16 #16552E
tetradic
#2E1655 #55161D #3D5516 #16554D
square
#2E1655 #55161D #3D5516 #16554D
split-complementary
#2E1655 #554D16 #1D5516
monochromatic
#0D0618 #140924 #2E1655 #482386 #632FB6

Accessibility & contrast

On white

15.42
#2E1655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2E1655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1655
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1655#FFFFFF#000000##FFFFFF
##2E16551.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#242533
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2e1655;
/* rgb */ color: rgb(46, 22, 85);
/* oklch */ color: oklch(27.5% 0.108 296.0);
Tailwind
colors: {
  custom: {
    50: '#6b5585',
    500: '#2e1655',
    950: '#000000',
  },
}
SCSS
$custom: #2e1655;
$custom-light: #6b5585;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1655",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 262.857,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27472,
    "c": 0.10773,
    "h": 296
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#2E1655
secondary
#6D8C3A
accent
#E246A7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1655

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

Preview Lab → · Contrast checker → · Palette generator →

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