#2E2244#2E2244

#2E2244 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.4% C 0.062 H 298.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2244
RGBrgb(46, 34, 68)
HSLhsl(261, 33%, 20%)
HSVhsv(261, 50%, 27%)
CMYKcmyk(32.4%, 50%, 0%, 73.3%)
CIE-LABlab(16.22, 14.48, -19.43)
CIE-LCHlch(16.22, 24.24, 306.70°)
OKLaboklab(28.36% 0.0298 -0.0545)
OKLCHoklch(28.36% 0.062 298.7)
XYZxyz(2.7419, 2.1422, 5.7368)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2244 #384422
analogous
#222744 #2E2244 #3F2244
triadic
#2E2244 #442E22 #22442E
tetradic
#2E2244 #442227 #384422 #22443F
square
#2E2244 #442227 #384422 #22443F
split-complementary
#2E2244 #443F22 #274422
monochromatic
#0E0A14 #120E1B #2E2244 #4A366D #654B96

Accessibility & contrast

On white

14.70
#2E2244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E2244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2244
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2244#FFFFFF#000000##FFFFFF
##2E22441.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#1A2843
Tritanopia (blue-blind)
#2A282F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2244;
/* rgb */ color: rgb(46, 34, 68);
/* oklch */ color: oklch(28.4% 0.062 298.7);
Tailwind
colors: {
  custom: {
    50: '#685d78',
    500: '#2e2244',
    950: '#000000',
  },
}
SCSS
$custom: #2e2244;
$custom-light: #685d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2244",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 261.176,
    "s": 33.333,
    "l": 20
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.06206,
    "h": 298.7
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#2E2244
secondary
#68784A
accent
#C95EA4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2244

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

Preview Lab → · Contrast checker → · Palette generator →

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