#2E2437#2E2437

#2E2437 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.037 H 308.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#2E2437
RGBrgb(46, 36, 55)
HSLhsl(272, 21%, 18%)
HSVhsv(272, 35%, 22%)
CMYKcmyk(16.4%, 34.5%, 0%, 78.4%)
CIE-LABlab(16.10, 9.29, -10.55)
CIE-LCHlch(16.10, 14.06, 311.37°)
OKLaboklab(28.03% 0.0227 -0.0289)
OKLCHoklch(28.03% 0.037 308.2)
XYZxyz(2.4471, 2.1184, 3.8937)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2437 #2D3724
analogous
#242437 #2E2437 #372436
triadic
#2E2437 #372E24 #24372E
tetradic
#2E2437 #372424 #2D3724 #243637
square
#2E2437 #372424 #2D3724 #243637
split-complementary
#2E2437 #363724 #243724
monochromatic
#0F0C12 #0F0C12 #2E2437 #4D3C5C #6C5481

Accessibility & contrast

On white

14.75
#2E2437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2437
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2437#FFFFFF#000000##FFFFFF
##2E24371.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#232836
Tritanopia (blue-blind)
#2D272B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2437;
/* rgb */ color: rgb(46, 36, 55);
/* oklch */ color: oklch(28.0% 0.037 308.2);
Tailwind
colors: {
  custom: {
    50: '#675e6d',
    500: '#2e2437',
    950: '#000000',
  },
}
SCSS
$custom: #2e2437;
$custom-light: #675e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2437",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 55
  },
  "hsl": {
    "h": 271.579,
    "s": 20.879,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28034,
    "c": 0.03678,
    "h": 308.2
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#2E2437
secondary
#5B694E
accent
#BD6A92
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2437

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

Preview Lab → · Contrast checker → · Palette generator →

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