#4E266B#4E266B

#4E266B is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.119 H 308.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4E266B
RGBrgb(78, 38, 107)
HSLhsl(275, 48%, 28%)
HSVhsv(275, 64%, 42%)
CMYKcmyk(27.1%, 64.5%, 0%, 58%)
CIE-LABlab(23.89, 32.39, -33.00)
CIE-LCHlch(23.89, 46.24, 314.47°)
OKLaboklab(35.78% 0.0734 -0.0931)
OKLCHoklch(35.78% 0.119 308.3)
XYZxyz(6.4883, 4.0676, 14.3504)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E266B #436B26
analogous
#2C266B #4E266B #6B2665
triadic
#4E266B #6B4E26 #266B4E
tetradic
#4E266B #6B2C26 #436B26 #26656B
square
#4E266B #6B2C26 #436B26 #26656B
split-complementary
#4E266B #656B26 #266B2C
monochromatic
#100817 #2D163E #4E266B #6F3698 #8F4CBF

Accessibility & contrast

On white

11.58
#4E266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E266B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E266B#FFFFFF#000000##FFFFFF
##4E266B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#1B3969
Tritanopia (blue-blind)
#4A3444
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e266b;
/* rgb */ color: rgb(78, 38, 107);
/* oklch */ color: oklch(35.8% 0.119 308.3);
Tailwind
colors: {
  custom: {
    50: '#826396',
    500: '#4e266b',
    950: '#000000',
  },
}
SCSS
$custom: #4e266b;
$custom-light: #826396;
$custom-dark: #000000;
JSON
{
  "hex": "#4e266b",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 274.783,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35783,
    "c": 0.11855,
    "h": 308.3
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#4E266B
secondary
#709E4F
accent
#D75189
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4E266B

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

Preview Lab → · Contrast checker → · Palette generator →

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