#4E2F66#4E2F66

#4E2F66 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.097 H 308.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4E2F66
RGBrgb(78, 47, 102)
HSLhsl(274, 37%, 29%)
HSVhsv(274, 54%, 40%)
CMYKcmyk(23.5%, 53.9%, 0%, 60%)
CIE-LABlab(25.60, 25.75, -27.04)
CIE-LCHlch(25.60, 37.34, 313.60°)
OKLaboklab(36.93% 0.06 -0.0757)
OKLCHoklch(36.93% 0.097 308.4)
XYZxyz(6.5562, 4.6121, 13.1126)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F66 #47662F
analogous
#332F66 #4E2F66 #662F63
triadic
#4E2F66 #664E2F #2F664E
tetradic
#4E2F66 #66332F #47662F #2F6366
square
#4E2F66 #66332F #47662F #2F6366
split-complementary
#4E2F66 #63662F #2F6633
monochromatic
#100A15 #2E1C3C #4E2F66 #6E4290 #8D5CB4

Accessibility & contrast

On white

10.92
#4E2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F66
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F66#FFFFFF#000000##FFFFFF
##4E2F661.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#293D65
Tritanopia (blue-blind)
#4B3846
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2f66;
/* rgb */ color: rgb(78, 47, 102);
/* oklch */ color: oklch(36.9% 0.097 308.4);
Tailwind
colors: {
  custom: {
    50: '#816892',
    500: '#4e2f66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f66;
$custom-light: #816892;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f66",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 273.818,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.09662,
    "h": 308.4
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#4E2F66
secondary
#749859
accent
#CD5B8D
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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