#2E205D#2E205D

#2E205D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.104 H 289.1°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#2E205D
RGBrgb(46, 32, 93)
HSLhsl(254, 49%, 25%)
HSVhsv(254, 66%, 36%)
CMYKcmyk(50.5%, 65.6%, 0%, 63.5%)
CIE-LABlab(17.48, 23.90, -34.36)
CIE-LCHlch(17.48, 41.85, 304.82°)
OKLaboklab(29.87% 0.034 -0.0982)
OKLCHoklch(29.87% 0.104 289.1)
XYZxyz(3.6184, 2.4040, 10.6272)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E205D #4F5D20
analogous
#20315D #2E205D #4D205D
triadic
#2E205D #5D2E20 #205D2E
tetradic
#2E205D #5D2031 #4F5D20 #205D4D
square
#2E205D #5D2031 #4F5D20 #205D4D
split-complementary
#2E205D #5D4D20 #315D20
monochromatic
#0B0817 #17102F #2E205D #45308B #5B3FB8

Accessibility & contrast

On white

14.18
#2E205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E205D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E205D#FFFFFF#000000##FFFFFF
##2E205D1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#1F2E3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e205d;
/* rgb */ color: rgb(46, 32, 93);
/* oklch */ color: oklch(29.9% 0.104 289.1);
Tailwind
colors: {
  custom: {
    50: '#6b5c8b',
    500: '#2e205d',
    950: '#000000',
  },
}
SCSS
$custom: #2e205d;
$custom-light: #6b5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e205d",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 253.77,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.10396,
    "h": 289.1
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#2E205D
secondary
#809147
accent
#D84FB9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2E205D

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

Preview Lab → · Contrast checker → · Palette generator →

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