#2E223E#2E223E

#2E223E is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.052 H 302.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#2E223E
RGBrgb(46, 34, 62)
HSLhsl(266, 29%, 19%)
HSVhsv(266, 45%, 24%)
CMYKcmyk(25.8%, 45.2%, 0%, 75.7%)
CIE-LABlab(15.86, 12.69, -15.82)
CIE-LCHlch(15.86, 20.28, 308.74°)
OKLaboklab(27.98% 0.0285 -0.044)
OKLCHoklch(27.98% 0.052 302.9)
XYZxyz(2.5681, 2.0727, 4.8213)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E223E #323E22
analogous
#22243E #2E223E #3C223E
triadic
#2E223E #3E2E22 #223E2E
tetradic
#2E223E #3E2224 #323E22 #223E3C
square
#2E223E #3E2224 #323E22 #223E3C
split-complementary
#2E223E #3E3C22 #243E22
monochromatic
#0F0B14 #110C16 #2E223E #4B3866 #694D8D

Accessibility & contrast

On white

14.85
#2E223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E223E
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E223E#FFFFFF#000000##FFFFFF
##2E223E1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273F
Deuteranopia (green-blind)
#1E273D
Tritanopia (blue-blind)
#2B272D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e223e;
/* rgb */ color: rgb(46, 34, 62);
/* oklch */ color: oklch(28.0% 0.052 302.9);
Tailwind
colors: {
  custom: {
    50: '#675d73',
    500: '#2e223e',
    950: '#000000',
  },
}
SCSS
$custom: #2e223e;
$custom-light: #675d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e223e",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 265.714,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.05239,
    "h": 302.9
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#2E223E
secondary
#61714B
accent
#C5629B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E223E

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

Preview Lab → · Contrast checker → · Palette generator →

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