#2E223A#2E223A

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

Color values

HEX#2E223A
RGBrgb(46, 34, 58)
HSLhsl(270, 26%, 18%)
HSVhsv(270, 41%, 23%)
CMYKcmyk(20.7%, 41.4%, 0%, 77.3%)
CIE-LABlab(15.65, 11.54, -13.36)
CIE-LCHlch(15.65, 17.65, 310.83°)
OKLaboklab(27.74% 0.0274 -0.0369)
OKLCHoklch(27.74% 0.046 306.6)
XYZxyz(2.4623, 2.0304, 4.2644)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E223A #2E3A22
analogous
#22223A #2E223A #3A223A
triadic
#2E223A #3A2E22 #223A2E
tetradic
#2E223A #3A2222 #2E3A22 #223A3A
square
#2E223A #3A2222 #2E3A22 #223A3A
split-complementary
#2E223A #3A3A22 #223A22
monochromatic
#0F0B13 #0F0B13 #2E223A #4D3961 #6B4F87

Accessibility & contrast

On white

14.94
#2E223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E223A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E223A#FFFFFF#000000##FFFFFF
##2E223A1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273B
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#2C262B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e223a;
/* rgb */ color: rgb(46, 34, 58);
/* oklch */ color: oklch(27.7% 0.046 306.6);
Tailwind
colors: {
  custom: {
    50: '#675d70',
    500: '#2e223a',
    950: '#000000',
  },
}
SCSS
$custom: #2e223a;
$custom-light: #675d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2e223a",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2774,
    "c": 0.04595,
    "h": 306.6
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#2E223A
secondary
#5C6D4B
accent
#C26594
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E223A

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

Preview Lab → · Contrast checker → · Palette generator →

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