#4E267F#4E267F

#4E267F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.143 H 300.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4E267F
RGBrgb(78, 38, 127)
HSLhsl(267, 54%, 32%)
HSVhsv(267, 70%, 50%)
CMYKcmyk(38.6%, 70.1%, 0%, 50.2%)
CIE-LABlab(25.38, 37.67, -43.38)
CIE-LCHlch(25.38, 57.45, 310.97°)
OKLaboklab(37.32% 0.0717 -0.1236)
OKLCHoklch(37.32% 0.143 300.1)
XYZxyz(7.6648, 4.5382, 20.5467)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E267F #577F26
analogous
#262B7F #4E267F #7A267F
triadic
#4E267F #7F4E26 #267F4E
tetradic
#4E267F #7F262B #577F26 #267F7A
square
#4E267F #7F262B #577F26 #267F7A
split-complementary
#4E267F #7F7A26 #2B7F26
monochromatic
#140A21 #311850 #4E267F #6B34AE #8A54CC

Accessibility & contrast

On white

11.01
#4E267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E267F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E267F#FFFFFF#000000##FFFFFF
##4E267F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#433B4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e267f;
/* rgb */ color: rgb(78, 38, 127);
/* oklch */ color: oklch(37.3% 0.143 300.1);
Tailwind
colors: {
  custom: {
    50: '#8463a5',
    500: '#4e267f',
    950: '#000000',
  },
}
SCSS
$custom: #4e267f;
$custom-light: #8463a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e267f",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 266.966,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37324,
    "c": 0.14285,
    "h": 300.1
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#4E267F
secondary
#85B051
accent
#DD4A9B
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E267F

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

Preview Lab → · Contrast checker → · Palette generator →

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