#4F267A#4F267A

#4F267A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.137 H 302.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4F267A
RGBrgb(79, 38, 122)
HSLhsl(269, 53%, 31%)
HSVhsv(269, 69%, 48%)
CMYKcmyk(35.2%, 68.9%, 0%, 52.2%)
CIE-LABlab(25.12, 36.55, -40.63)
CIE-LCHlch(25.12, 54.65, 311.98°)
OKLaboklab(37.04% 0.0738 -0.1155)
OKLCHoklch(37.04% 0.137 302.6)
XYZxyz(7.4296, 4.4536, 18.8768)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F267A #517A26
analogous
#26277A #4F267A #79267A
triadic
#4F267A #7A4F26 #267A4F
tetradic
#4F267A #7A2627 #517A26 #267A79
square
#4F267A #7A2627 #517A26 #267A79
split-complementary
#4F267A #7A7926 #277A26
monochromatic
#13091D #31174B #4F267A #6D35A9 #8C51C9

Accessibility & contrast

On white

11.11
#4F267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F267A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F267A#FFFFFF#000000##FFFFFF
##4F267A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#033B78
Tritanopia (blue-blind)
#46394C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f267a;
/* rgb */ color: rgb(79, 38, 122);
/* oklch */ color: oklch(37.0% 0.137 302.6);
Tailwind
colors: {
  custom: {
    50: '#8463a1',
    500: '#4f267a',
    950: '#000000',
  },
}
SCSS
$custom: #4f267a;
$custom-light: #8463a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f267a",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 269.286,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.13703,
    "h": 302.6
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#4F267A
secondary
#7FAC50
accent
#DC4C96
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F267A

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

Preview Lab → · Contrast checker → · Palette generator →

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