#2E2137#2E2137

#2E2137 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.3% C 0.043 H 310.7°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#2E2137
RGBrgb(46, 33, 55)
HSLhsl(275, 25%, 17%)
HSVhsv(275, 40%, 22%)
CMYKcmyk(16.4%, 40%, 0%, 78.4%)
CIE-LABlab(15.19, 11.42, -11.95)
CIE-LCHlch(15.19, 16.53, 313.70°)
OKLaboklab(27.34% 0.0283 -0.0329)
OKLCHoklch(27.34% 0.043 310.7)
XYZxyz(2.3600, 1.9444, 3.8647)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2137 #2A3721
analogous
#232137 #2E2137 #372135
triadic
#2E2137 #372E21 #21372E
tetradic
#2E2137 #372321 #2A3721 #213537
square
#2E2137 #372321 #2A3721 #213537
split-complementary
#2E2137 #353721 #213723
monochromatic
#100B13 #100B13 #2E2137 #4E385D #6E4F84

Accessibility & contrast

On white

15.12
#2E2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2137
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2137#FFFFFF#000000##FFFFFF
##2E21371.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2538
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#2D2429
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e2137;
/* rgb */ color: rgb(46, 33, 55);
/* oklch */ color: oklch(27.3% 0.043 310.7);
Tailwind
colors: {
  custom: {
    50: '#675c6e',
    500: '#2e2137',
    950: '#000000',
  },
}
SCSS
$custom: #2e2137;
$custom-light: #675c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2137",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 275.455,
    "s": 25,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27344,
    "c": 0.04337,
    "h": 310.7
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#2E2137
secondary
#576A4A
accent
#C1668C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2137

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

Preview Lab → · Contrast checker → · Palette generator →

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