#2E2844#2E2844

#2E2844 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.7% C 0.050 H 292.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#2E2844
RGBrgb(46, 40, 68)
HSLhsl(253, 26%, 21%)
HSVhsv(253, 41%, 27%)
CMYKcmyk(32.4%, 41.2%, 0%, 73.3%)
CIE-LABlab(17.99, 10.24, -16.65)
CIE-LCHlch(17.99, 19.55, 301.61°)
OKLaboklab(29.7% 0.0196 -0.0464)
OKLCHoklch(29.7% 0.05 292.9)
XYZxyz(2.9286, 2.5157, 5.7990)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2844 #3E4428
analogous
#283044 #2E2844 #3C2844
triadic
#2E2844 #442E28 #28442E
tetradic
#2E2844 #442830 #3E4428 #28443C
square
#2E2844 #442830 #3E4428 #28443C
split-complementary
#2E2844 #443C28 #304428
monochromatic
#0D0B13 #14111D #2E2844 #483F6B #625591

Accessibility & contrast

On white

13.97
#2E2844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E2844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2844
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2844#FFFFFF#000000##FFFFFF
##2E28441.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C45
Deuteranopia (green-blind)
#212B43
Tritanopia (blue-blind)
#292D32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2844;
/* rgb */ color: rgb(46, 40, 68);
/* oklch */ color: oklch(29.7% 0.050 292.9);
Tailwind
colors: {
  custom: {
    50: '#676178',
    500: '#2e2844',
    950: '#000000',
  },
}
SCSS
$custom: #2e2844;
$custom-light: #676178;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2844",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 252.857,
    "s": 25.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.05036,
    "h": 292.9
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#2E2844
secondary
#6E7652
accent
#C265AE
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060509
muted
#7A797B

Preview Lab

Preview with #2E2844

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

Preview Lab → · Contrast checker → · Palette generator →

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