#4E296B#4E296B

#4E296B is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.3% C 0.114 H 307.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4E296B
RGBrgb(78, 41, 107)
HSLhsl(274, 45%, 29%)
HSVhsv(274, 62%, 42%)
CMYKcmyk(27.1%, 61.7%, 0%, 58%)
CIE-LABlab(24.54, 30.67, -31.97)
CIE-LCHlch(24.54, 44.30, 313.81°)
OKLaboklab(36.25% 0.0692 -0.0901)
OKLCHoklch(36.25% 0.114 307.5)
XYZxyz(6.5881, 4.2672, 14.3837)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E296B #466B29
analogous
#2D296B #4E296B #6B2967
triadic
#4E296B #6B4E29 #296B4E
tetradic
#4E296B #6B2D29 #466B29 #29676B
square
#4E296B #6B2D29 #466B29 #29676B
split-complementary
#4E296B #676B29 #296B2D
monochromatic
#100816 #2E183F #4E296B #6E3A97 #8E52BD

Accessibility & contrast

On white

11.33
#4E296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E296B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E296B#FFFFFF#000000##FFFFFF
##4E296B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396D
Deuteranopia (green-blind)
#1F3B69
Tritanopia (blue-blind)
#4A3645
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e296b;
/* rgb */ color: rgb(78, 41, 107);
/* oklch */ color: oklch(36.3% 0.114 307.5);
Tailwind
colors: {
  custom: {
    50: '#826596',
    500: '#4e296b',
    950: '#000000',
  },
}
SCSS
$custom: #4e296b;
$custom-light: #826596;
$custom-dark: #000000;
JSON
{
  "hex": "#4e296b",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 273.636,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.11362,
    "h": 307.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#4E296B
secondary
#739D52
accent
#D4538C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E296B

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

Preview Lab → · Contrast checker → · Palette generator →

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