#2E2234#2E2234

#2E2234 is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.4% C 0.037 H 314.2°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#2E2234
RGBrgb(46, 34, 52)
HSLhsl(280, 21%, 17%)
HSVhsv(280, 35%, 20%)
CMYKcmyk(11.5%, 34.6%, 0%, 79.6%)
CIE-LABlab(15.34, 9.90, -9.59)
CIE-LCHlch(15.34, 13.79, 315.92°)
OKLaboklab(27.41% 0.0254 -0.0262)
OKLCHoklch(27.41% 0.037 314.2)
XYZxyz(2.3185, 1.9729, 3.5068)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2234 #283422
analogous
#252234 #2E2234 #342231
triadic
#2E2234 #342E22 #22342E
tetradic
#2E2234 #342522 #283422 #223134
square
#2E2234 #342522 #283422 #223134
split-complementary
#2E2234 #313422 #223425
monochromatic
#100C13 #100C13 #2E2234 #4F3A59 #6F527E

Accessibility & contrast

On white

15.06
#2E2234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E2234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2234
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2234#FFFFFF#000000##FFFFFF
##2E22341.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2635
Deuteranopia (green-blind)
#222733
Tritanopia (blue-blind)
#2E2428
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e2234;
/* rgb */ color: rgb(46, 34, 52);
/* oklch */ color: oklch(27.4% 0.037 314.2);
Tailwind
colors: {
  custom: {
    50: '#675d6b',
    500: '#2e2234',
    950: '#000000',
  },
}
SCSS
$custom: #2e2234;
$custom-light: #675d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2234",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 280,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2741,
    "c": 0.03651,
    "h": 314.2
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#2E2234
secondary
#55664C
accent
#BD6A86
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2234

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

Preview Lab → · Contrast checker → · Palette generator →

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