#2E205A#2E205A

#2E205A is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.6% C 0.100 H 290.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#2E205A
RGBrgb(46, 32, 90)
HSLhsl(254, 48%, 24%)
HSVhsv(254, 64%, 35%)
CMYKcmyk(48.9%, 64.4%, 0%, 64.7%)
CIE-LABlab(17.24, 22.90, -32.76)
CIE-LCHlch(17.24, 39.97, 304.96°)
OKLaboklab(29.62% 0.0342 -0.0935)
OKLCHoklch(29.62% 0.1 290.1)
XYZxyz(3.4882, 2.3519, 9.9411)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E205A #4C5A20
analogous
#202F5A #2E205A #4B205A
triadic
#2E205A #5A2E20 #205A2E
tetradic
#2E205A #5A202F #4C5A20 #205A4B
square
#2E205A #5A202F #4C5A20 #205A4B
split-complementary
#2E205A #5A4B20 #2F5A20
monochromatic
#0C0817 #17102D #2E205A #453087 #5C40B4

Accessibility & contrast

On white

14.28
#2E205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2E205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E205A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E205A#FFFFFF#000000##FFFFFF
##2E205A1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#212D39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e205a;
/* rgb */ color: rgb(46, 32, 90);
/* oklch */ color: oklch(29.6% 0.100 290.1);
Tailwind
colors: {
  custom: {
    50: '#6b5c89',
    500: '#2e205a',
    950: '#000000',
  },
}
SCSS
$custom: #2e205a;
$custom-light: #6b5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2e205a",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 254.483,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29616,
    "c": 0.09957,
    "h": 290.1
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#2E205A
secondary
#7D8E47
accent
#D751B7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040B
muted
#7A797C

Preview Lab

Preview with #2E205A

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

Preview Lab → · Contrast checker → · Palette generator →

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