#4F267D#4F267D

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

Color values

HEX#4F267D
RGBrgb(79, 38, 125)
HSLhsl(268, 53%, 32%)
HSVhsv(268, 70%, 49%)
CMYKcmyk(36.8%, 69.6%, 0%, 51%)
CIE-LABlab(25.35, 37.35, -42.15)
CIE-LCHlch(25.35, 56.32, 311.55°)
OKLaboklab(37.28% 0.0734 -0.1199)
OKLCHoklch(37.28% 0.141 301.5)
XYZxyz(7.6183, 4.5291, 19.8709)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F267D #547D26
analogous
#26297D #4F267D #7B267D
triadic
#4F267D #7D4F26 #267D4F
tetradic
#4F267D #7D2629 #547D26 #267D7B
square
#4F267D #7D2629 #547D26 #267D7B
split-complementary
#4F267D #7D7B26 #297D26
monochromatic
#14091F #31184E #4F267D #6D34AC #8B53CB

Accessibility & contrast

On white

11.02
#4F267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F267D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F267D#FFFFFF#000000##FFFFFF
##4F267D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#453A4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f267d;
/* rgb */ color: rgb(79, 38, 125);
/* oklch */ color: oklch(37.3% 0.141 301.5);
Tailwind
colors: {
  custom: {
    50: '#8463a3',
    500: '#4f267d',
    950: '#000000',
  },
}
SCSS
$custom: #4f267d;
$custom-light: #8463a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f267d",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 268.276,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.14064,
    "h": 301.5
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#4F267D
secondary
#82AF50
accent
#DD4B98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F267D

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

Preview Lab → · Contrast checker → · Palette generator →

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