#2E2644#2E2644

#2E2644 is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.054 H 295.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#2E2644
RGBrgb(46, 38, 68)
HSLhsl(256, 28%, 21%)
HSVhsv(256, 44%, 27%)
CMYKcmyk(32.4%, 44.1%, 0%, 73.3%)
CIE-LABlab(17.39, 11.66, -17.59)
CIE-LCHlch(17.39, 21.10, 303.54°)
OKLaboklab(29.24% 0.023 -0.0491)
OKLCHoklch(29.24% 0.054 295.1)
XYZxyz(2.8630, 2.3844, 5.7771)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2644 #3C4426
analogous
#262D44 #2E2644 #3D2644
triadic
#2E2644 #442E26 #26442E
tetradic
#2E2644 #44262D #3C4426 #26443D
square
#2E2644 #44262D #3C4426 #26443D
split-complementary
#2E2644 #443D26 #2D4426
monochromatic
#0D0B14 #13101D #2E2644 #493C6B #635293

Accessibility & contrast

On white

14.22
#2E2644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E2644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2644
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2644#FFFFFF#000000##FFFFFF
##2E26441.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#1F2A43
Tritanopia (blue-blind)
#292B31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2644;
/* rgb */ color: rgb(46, 38, 68);
/* oklch */ color: oklch(29.2% 0.054 295.1);
Tailwind
colors: {
  custom: {
    50: '#676078',
    500: '#2e2644',
    950: '#000000',
  },
}
SCSS
$custom: #2e2644;
$custom-light: #676078;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2644",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 68
  },
  "hsl": {
    "h": 256,
    "s": 28.302,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29244,
    "c": 0.05423,
    "h": 295.1
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#2E2644
secondary
#6C764F
accent
#C563AB
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2644

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

Preview Lab → · Contrast checker → · Palette generator →

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