#4F267C#4F267C

#4F267C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.139 H 301.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4F267C
RGBrgb(79, 38, 124)
HSLhsl(269, 53%, 32%)
HSVhsv(269, 69%, 49%)
CMYKcmyk(36.3%, 69.4%, 0%, 51.4%)
CIE-LABlab(25.27, 37.09, -41.65)
CIE-LCHlch(25.27, 55.77, 311.69°)
OKLaboklab(37.2% 0.0736 -0.1185)
OKLCHoklch(37.2% 0.139 301.8)
XYZxyz(7.5548, 4.5037, 19.5362)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F267C #537C26
analogous
#26287C #4F267C #7A267C
triadic
#4F267C #7C4F26 #267C4F
tetradic
#4F267C #7C2628 #537C26 #267C7A
square
#4F267C #7C2628 #537C26 #267C7A
split-complementary
#4F267C #7C7A26 #287C26
monochromatic
#13091E #31184D #4F267C #6D34AB #8B52CA

Accessibility & contrast

On white

11.05
#4F267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F267C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F267C#FFFFFF#000000##FFFFFF
##4F267C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#463A4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f267c;
/* rgb */ color: rgb(79, 38, 124);
/* oklch */ color: oklch(37.2% 0.139 301.8);
Tailwind
colors: {
  custom: {
    50: '#8463a3',
    500: '#4f267c',
    950: '#000000',
  },
}
SCSS
$custom: #4f267c;
$custom-light: #8463a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f267c",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 268.605,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.13944,
    "h": 301.8
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#4F267C
secondary
#81AE50
accent
#DC4B97
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F267C

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

Preview Lab → · Contrast checker → · Palette generator →

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