#2E2446#2E2446

#2E2446 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 28.9% C 0.061 H 295.9°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#2E2446
RGBrgb(46, 36, 70)
HSLhsl(258, 32%, 21%)
HSVhsv(258, 49%, 27%)
CMYKcmyk(34.3%, 48.6%, 0%, 72.5%)
CIE-LABlab(16.92, 13.69, -19.71)
CIE-LCHlch(16.92, 23.99, 304.79°)
OKLaboklab(28.93% 0.0268 -0.0553)
OKLCHoklch(28.93% 0.061 295.9)
XYZxyz(2.8628, 2.2848, 6.0833)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2446 #3C4624
analogous
#242B46 #2E2446 #3F2446
triadic
#2E2446 #462E24 #24462E
tetradic
#2E2446 #46242B #3C4624 #24463F
square
#2E2446 #46242B #3C4624 #24463F
split-complementary
#2E2446 #463F24 #2B4624
monochromatic
#0D0A14 #130F1E #2E2446 #49396E #634E97

Accessibility & contrast

On white

14.41
#2E2446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E2446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2446
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2446#FFFFFF#000000##FFFFFF
##2E24461.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2446;
/* rgb */ color: rgb(46, 36, 70);
/* oklch */ color: oklch(28.9% 0.061 295.9);
Tailwind
colors: {
  custom: {
    50: '#685e79',
    500: '#2e2446',
    950: '#000000',
  },
}
SCSS
$custom: #2e2446;
$custom-light: #685e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2446",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 70
  },
  "hsl": {
    "h": 257.647,
    "s": 32.075,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28925,
    "c": 0.06142,
    "h": 295.9
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#2E2446
secondary
#6C794D
accent
#C860A9
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2446

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

Preview Lab → · Contrast checker → · Palette generator →

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