#4E2F68#4E2F68

#4E2F68 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.099 H 307.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4E2F68
RGBrgb(78, 47, 104)
HSLhsl(273, 38%, 30%)
HSVhsv(273, 55%, 41%)
CMYKcmyk(25%, 54.8%, 0%, 59.2%)
CIE-LABlab(25.72, 26.27, -28.14)
CIE-LCHlch(25.72, 38.50, 313.03°)
OKLaboklab(37.06% 0.0602 -0.0789)
OKLCHoklch(37.06% 0.099 307.3)
XYZxyz(6.6566, 4.6523, 13.6413)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F68 #49682F
analogous
#322F68 #4E2F68 #682F65
triadic
#4E2F68 #684E2F #2F684E
tetradic
#4E2F68 #68322F #49682F #2F6568
square
#4E2F68 #68322F #49682F #2F6568
split-complementary
#4E2F68 #65682F #2F6832
monochromatic
#100A15 #2E1C3E #4E2F68 #6E4292 #8D5CB5

Accessibility & contrast

On white

10.88
#4E2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F68
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F68#FFFFFF#000000##FFFFFF
##4E2F681.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#283D67
Tritanopia (blue-blind)
#4A3946
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2f68;
/* rgb */ color: rgb(78, 47, 104);
/* oklch */ color: oklch(37.1% 0.099 307.3);
Tailwind
colors: {
  custom: {
    50: '#816893',
    500: '#4e2f68',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f68;
$custom-light: #816893;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f68",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 272.632,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.09929,
    "h": 307.3
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#4E2F68
secondary
#779959
accent
#CE5A8F
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2F68

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva