#2E2444#2E2444

#2E2444 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.8% C 0.058 H 297.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#2E2444
RGBrgb(46, 36, 68)
HSLhsl(259, 31%, 20%)
HSVhsv(259, 47%, 27%)
CMYKcmyk(32.4%, 47.1%, 0%, 73.3%)
CIE-LABlab(16.80, 13.07, -18.52)
CIE-LCHlch(16.80, 22.67, 305.22°)
OKLaboklab(28.8% 0.0264 -0.0518)
OKLCHoklch(28.8% 0.058 297)
XYZxyz(2.8007, 2.2599, 5.7564)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2444 #3A4424
analogous
#242A44 #2E2444 #3E2444
triadic
#2E2444 #442E24 #24442E
tetradic
#2E2444 #44242A #3A4424 #24443E
square
#2E2444 #44242A #3A4424 #24443E
split-complementary
#2E2444 #443E24 #2A4424
monochromatic
#0E0B14 #130F1C #2E2444 #49396C #644E94

Accessibility & contrast

On white

14.46
#2E2444 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2444 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2444
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2444#FFFFFF#000000##FFFFFF
##2E24441.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A45
Deuteranopia (green-blind)
#1D2943
Tritanopia (blue-blind)
#292A30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2444;
/* rgb */ color: rgb(46, 36, 68);
/* oklch */ color: oklch(28.8% 0.058 297.0);
Tailwind
colors: {
  custom: {
    50: '#685e78',
    500: '#2e2444',
    950: '#000000',
  },
}
SCSS
$custom: #2e2444;
$custom-light: #685e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2444",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 68
  },
  "hsl": {
    "h": 258.75,
    "s": 30.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28795,
    "c": 0.05813,
    "h": 297
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#2E2444
secondary
#6A774D
accent
#C761A7
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2444

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

Preview Lab → · Contrast checker → · Palette generator →

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