#2E2134#2E2134

#2E2134 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.2% C 0.039 H 314.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#2E2134
RGBrgb(46, 33, 52)
HSLhsl(281, 22%, 17%)
HSVhsv(281, 37%, 20%)
CMYKcmyk(11.5%, 36.5%, 0%, 79.6%)
CIE-LABlab(15.04, 10.61, -10.05)
CIE-LCHlch(15.04, 14.62, 316.55°)
OKLaboklab(27.18% 0.0273 -0.0275)
OKLCHoklch(27.18% 0.039 314.9)
XYZxyz(2.2903, 1.9165, 3.4974)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2134 #273421
analogous
#252134 #2E2134 #342131
triadic
#2E2134 #342E21 #21342E
tetradic
#2E2134 #342521 #273421 #213134
square
#2E2134 #342521 #273421 #213134
split-complementary
#2E2134 #313421 #213425
monochromatic
#110C13 #110C13 #2E2134 #4F3959 #70517F

Accessibility & contrast

On white

15.18
#2E2134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2E2134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2134
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2134#FFFFFF#000000##FFFFFF
##2E21341.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2535
Deuteranopia (green-blind)
#212633
Tritanopia (blue-blind)
#2E2328
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e2134;
/* rgb */ color: rgb(46, 33, 52);
/* oklch */ color: oklch(27.2% 0.039 314.9);
Tailwind
colors: {
  custom: {
    50: '#675c6b',
    500: '#2e2134',
    950: '#000000',
  },
}
SCSS
$custom: #2e2134;
$custom-light: #675c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2134",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 281.053,
    "s": 22.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.03876,
    "h": 314.9
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#2E2134
secondary
#53664B
accent
#BF6984
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2134

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

Preview Lab → · Contrast checker → · Palette generator →

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