#4F267E#4F267E

#4F267E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.142 H 301.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4F267E
RGBrgb(79, 38, 126)
HSLhsl(268, 54%, 32%)
HSVhsv(268, 70%, 49%)
CMYKcmyk(37.3%, 69.8%, 0%, 50.6%)
CIE-LABlab(25.43, 37.62, -42.66)
CIE-LCHlch(25.43, 56.88, 311.41°)
OKLaboklab(37.36% 0.0733 -0.1214)
OKLCHoklch(37.36% 0.142 301.1)
XYZxyz(7.6825, 4.5548, 20.2090)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F267E #557E26
analogous
#26297E #4F267E #7B267E
triadic
#4F267E #7E4F26 #267E4F
tetradic
#4F267E #7E2629 #557E26 #267E7B
square
#4F267E #7E2629 #557E26 #267E7B
split-complementary
#4F267E #7E7B26 #297E26
monochromatic
#140A20 #32184F #4F267E #6C34AD #8B53CB

Accessibility & contrast

On white

10.99
#4F267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F267E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F267E#FFFFFF#000000##FFFFFF
##4F267E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f267e;
/* rgb */ color: rgb(79, 38, 126);
/* oklch */ color: oklch(37.4% 0.142 301.1);
Tailwind
colors: {
  custom: {
    50: '#8563a4',
    500: '#4f267e',
    950: '#000000',
  },
}
SCSS
$custom: #4f267e;
$custom-light: #8563a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f267e",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 267.955,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.14183,
    "h": 301.1
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#4F267E
secondary
#83B050
accent
#DD4B99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F267E

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

Preview Lab → · Contrast checker → · Palette generator →

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