#2E2445#2E2445

#2E2445 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.9% C 0.060 H 296.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2445
RGBrgb(46, 36, 69)
HSLhsl(258, 31%, 21%)
HSVhsv(258, 48%, 27%)
CMYKcmyk(33.3%, 47.8%, 0%, 72.9%)
CIE-LABlab(16.86, 13.38, -19.11)
CIE-LCHlch(16.86, 23.33, 304.99°)
OKLaboklab(28.86% 0.0266 -0.0535)
OKLCHoklch(28.86% 0.06 296.4)
XYZxyz(2.8315, 2.2722, 5.9185)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2445 #3B4524
analogous
#242A45 #2E2445 #3E2445
triadic
#2E2445 #452E24 #24452E
tetradic
#2E2445 #45242A #3B4524 #24453E
square
#2E2445 #45242A #3B4524 #24453E
split-complementary
#2E2445 #453E24 #2A4524
monochromatic
#0D0A14 #130F1D #2E2445 #49396D #644E95

Accessibility & contrast

On white

14.44
#2E2445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2445
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2445#FFFFFF#000000##FFFFFF
##2E24451.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#1C2944
Tritanopia (blue-blind)
#292A31
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2445;
/* rgb */ color: rgb(46, 36, 69);
/* oklch */ color: oklch(28.9% 0.060 296.4);
Tailwind
colors: {
  custom: {
    50: '#685e79',
    500: '#2e2445',
    950: '#000000',
  },
}
SCSS
$custom: #2e2445;
$custom-light: #685e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2445",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 69
  },
  "hsl": {
    "h": 258.182,
    "s": 31.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2886,
    "c": 0.05978,
    "h": 296.4
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#2E2445
secondary
#6B784D
accent
#C860A8
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2445

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

Preview Lab → · Contrast checker → · Palette generator →

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