#2E213D#2E213D

#2E213D is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.7% C 0.053 H 304.6°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#2E213D
RGBrgb(46, 33, 61)
HSLhsl(268, 30%, 18%)
HSVhsv(268, 46%, 24%)
CMYKcmyk(24.6%, 45.9%, 0%, 76.1%)
CIE-LABlab(15.52, 13.10, -15.66)
CIE-LCHlch(15.52, 20.42, 309.92°)
OKLaboklab(27.69% 0.03 -0.0435)
OKLCHoklch(27.69% 0.053 304.6)
XYZxyz(2.5127, 2.0055, 4.6687)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E213D #303D21
analogous
#21223D #2E213D #3C213D
triadic
#2E213D #3D2E21 #213D2E
tetradic
#2E213D #3D2122 #303D21 #213D3C
square
#2E213D #3D2122 #303D21 #213D3C
split-complementary
#2E213D #3D3C21 #223D21
monochromatic
#0F0B14 #100C15 #2E213D #4C3665 #6A4C8C

Accessibility & contrast

On white

14.99
#2E213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E213D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E213D#FFFFFF#000000##FFFFFF
##2E213D1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263E
Deuteranopia (green-blind)
#1D273C
Tritanopia (blue-blind)
#2C252C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e213d;
/* rgb */ color: rgb(46, 33, 61);
/* oklch */ color: oklch(27.7% 0.053 304.6);
Tailwind
colors: {
  custom: {
    50: '#675c72',
    500: '#2e213d',
    950: '#000000',
  },
}
SCSS
$custom: #2e213d;
$custom-light: #675c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2e213d",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 267.857,
    "s": 29.787,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27695,
    "c": 0.05286,
    "h": 304.6
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#2E213D
secondary
#5E704A
accent
#C66297
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E213D

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

Preview Lab → · Contrast checker → · Palette generator →

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