#2E2036#2E2036

#2E2036 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.1% C 0.044 H 312.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#2E2036
RGBrgb(46, 32, 54)
HSLhsl(278, 26%, 17%)
HSVhsv(278, 41%, 21%)
CMYKcmyk(14.8%, 40.7%, 0%, 78.8%)
CIE-LABlab(14.85, 11.86, -11.78)
CIE-LCHlch(14.85, 16.71, 315.19°)
OKLaboklab(27.06% 0.0299 -0.0324)
OKLCHoklch(27.06% 0.044 312.7)
XYZxyz(2.3090, 1.8802, 3.7306)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2036 #283620
analogous
#232036 #2E2036 #362033
triadic
#2E2036 #362E20 #20362E
tetradic
#2E2036 #362320 #283620 #203336
square
#2E2036 #362320 #283620 #203336
split-complementary
#2E2036 #333620 #203623
monochromatic
#100B13 #100B13 #2E2036 #4F375C #6F4E83

Accessibility & contrast

On white

15.26
#2E2036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2036
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2036#FFFFFF#000000##FFFFFF
##2E20361.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2537
Deuteranopia (green-blind)
#1F2635
Tritanopia (blue-blind)
#2D2328
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2e2036;
/* rgb */ color: rgb(46, 32, 54);
/* oklch */ color: oklch(27.1% 0.044 312.7);
Tailwind
colors: {
  custom: {
    50: '#675b6d',
    500: '#2e2036',
    950: '#000000',
  },
}
SCSS
$custom: #2e2036;
$custom-light: #675b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2036",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 54
  },
  "hsl": {
    "h": 278.182,
    "s": 25.581,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27063,
    "c": 0.04405,
    "h": 312.7
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#2E2036
secondary
#556949
accent
#C26687
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2036

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

Preview Lab → · Contrast checker → · Palette generator →

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