#2E2136#2E2136

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

Color values

HEX#2E2136
RGBrgb(46, 33, 54)
HSLhsl(277, 24%, 17%)
HSVhsv(277, 39%, 21%)
CMYKcmyk(14.8%, 38.9%, 0%, 78.8%)
CIE-LABlab(15.14, 11.15, -11.32)
CIE-LCHlch(15.14, 15.89, 314.56°)
OKLaboklab(27.29% 0.028 -0.0311)
OKLCHoklch(27.29% 0.042 312)
XYZxyz(2.3363, 1.9349, 3.7397)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2136 #293621
analogous
#242136 #2E2136 #362134
triadic
#2E2136 #362E21 #21362E
tetradic
#2E2136 #362421 #293621 #213436
square
#2E2136 #362421 #293621 #213436
split-complementary
#2E2136 #343621 #213624
monochromatic
#100C13 #100C13 #2E2136 #4E385C #6F4F82

Accessibility & contrast

On white

15.14
#2E2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2136
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2136#FFFFFF#000000##FFFFFF
##2E21361.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2136;
/* rgb */ color: rgb(46, 33, 54);
/* oklch */ color: oklch(27.3% 0.042 312.0);
Tailwind
colors: {
  custom: {
    50: '#675c6d',
    500: '#2e2136',
    950: '#000000',
  },
}
SCSS
$custom: #2e2136;
$custom-light: #675c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2136",
  "rgb": {
    "r": 46,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 277.143,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27288,
    "c": 0.04183,
    "h": 312
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#2E2136
secondary
#56694A
accent
#C16789
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2136

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

Preview Lab → · Contrast checker → · Palette generator →

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