#2E2230#2E2230

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

Color values

HEX#2E2230
RGBrgb(46, 34, 48)
HSLhsl(291, 17%, 16%)
HSVhsv(291, 29%, 19%)
CMYKcmyk(4.2%, 29.2%, 0%, 81.2%)
CIE-LABlab(15.16, 8.88, -7.03)
CIE-LCHlch(15.16, 11.32, 321.61°)
OKLaboklab(27.21% 0.0239 -0.019)
OKLCHoklch(27.21% 0.031 321.5)
XYZxyz(2.2322, 1.9383, 3.0523)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2230 #243022
analogous
#272230 #2E2230 #30222B
triadic
#2E2230 #302E22 #22302E
tetradic
#2E2230 #302722 #243022 #222B30
square
#2E2230 #302722 #243022 #222B30
split-complementary
#2E2230 #2B3022 #223027
monochromatic
#110D12 #110D12 #2E2230 #503B54 #735578

Accessibility & contrast

On white

15.13
#2E2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2230
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2230#FFFFFF#000000##FFFFFF
##2E22301.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212531
Deuteranopia (green-blind)
#232630
Tritanopia (blue-blind)
#2E2327
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e2230;
/* rgb */ color: rgb(46, 34, 48);
/* oklch */ color: oklch(27.2% 0.031 321.5);
Tailwind
colors: {
  custom: {
    50: '#675d68',
    500: '#2e2230',
    950: '#000000',
  },
}
SCSS
$custom: #2e2230;
$custom-light: #675d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2230",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 291.429,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.03056,
    "h": 321.5
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#2E2230
secondary
#4F614D
accent
#BA6E79
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2230

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

Preview Lab → · Contrast checker → · Palette generator →

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