#2E2745#2E2745

#2E2745 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.5% C 0.054 H 293.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#2E2745
RGBrgb(46, 39, 69)
HSLhsl(254, 28%, 21%)
HSVhsv(254, 43%, 27%)
CMYKcmyk(33.3%, 43.5%, 0%, 72.9%)
CIE-LABlab(17.74, 11.26, -17.72)
CIE-LCHlch(17.74, 20.99, 302.44°)
OKLaboklab(29.53% 0.0216 -0.0495)
OKLCHoklch(29.53% 0.054 293.5)
XYZxyz(2.9261, 2.4615, 5.9500)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2745 #3E4527
analogous
#272F45 #2E2745 #3D2745
triadic
#2E2745 #452E27 #27452E
tetradic
#2E2745 #45272F #3E4527 #27453D
square
#2E2745 #45272F #3E4527 #27453D
split-complementary
#2E2745 #453D27 #2F4527
monochromatic
#0D0B14 #14111E #2E2745 #483D6C #625393

Accessibility & contrast

On white

14.07
#2E2745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2745
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2745#FFFFFF#000000##FFFFFF
##2E27451.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#1F2B44
Tritanopia (blue-blind)
#292C32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2745;
/* rgb */ color: rgb(46, 39, 69);
/* oklch */ color: oklch(29.5% 0.054 293.5);
Tailwind
colors: {
  custom: {
    50: '#676179',
    500: '#2e2745',
    950: '#000000',
  },
}
SCSS
$custom: #2e2745;
$custom-light: #676179;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2745",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 254,
    "s": 27.778,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.05398,
    "h": 293.5
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#2E2745
secondary
#6E7750
accent
#C464AE
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060509
muted
#7A797B

Preview Lab

Preview with #2E2745

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

Preview Lab → · Contrast checker → · Palette generator →

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