#4F267B#4F267B

#4F267B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.138 H 302.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4F267B
RGBrgb(79, 38, 123)
HSLhsl(269, 53%, 32%)
HSVhsv(269, 69%, 48%)
CMYKcmyk(35.8%, 69.1%, 0%, 51.8%)
CIE-LABlab(25.19, 36.82, -41.14)
CIE-LCHlch(25.19, 55.21, 311.83°)
OKLaboklab(37.12% 0.0737 -0.117)
OKLCHoklch(37.12% 0.138 302.2)
XYZxyz(7.4919, 4.4785, 19.2048)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F267B #527B26
analogous
#26287B #4F267B #7A267B
triadic
#4F267B #7B4F26 #267B4F
tetradic
#4F267B #7B2628 #527B26 #267B7A
square
#4F267B #7B2628 #527B26 #267B7A
split-complementary
#4F267B #7B7A26 #287B26
monochromatic
#13091D #31184C #4F267B #6D34AA #8C52CA

Accessibility & contrast

On white

11.08
#4F267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F267B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F267B#FFFFFF#000000##FFFFFF
##4F267B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#46394D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f267b;
/* rgb */ color: rgb(79, 38, 123);
/* oklch */ color: oklch(37.1% 0.138 302.2);
Tailwind
colors: {
  custom: {
    50: '#8463a2',
    500: '#4f267b',
    950: '#000000',
  },
}
SCSS
$custom: #4f267b;
$custom-light: #8463a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f267b",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 268.941,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.13823,
    "h": 302.2
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#4F267B
secondary
#80AD50
accent
#DC4C96
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F267B

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

Preview Lab → · Contrast checker → · Palette generator →

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