#4F289E#4F289E

#4F289E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.177 H 291.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4F289E
RGBrgb(79, 40, 158)
HSLhsl(260, 60%, 39%)
HSVhsv(260, 75%, 62%)
CMYKcmyk(50%, 74.7%, 0%, 38%)
CIE-LABlab(28.51, 45.40, -57.47)
CIE-LCHlch(28.51, 73.24, 308.31°)
OKLaboklab(40.39% 0.0649 -0.1649)
OKLCHoklch(40.39% 0.177 291.5)
XYZxyz(10.1530, 5.6481, 32.8963)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F289E #779E28
analogous
#283C9E #4F289E #8A289E
triadic
#4F289E #9E4F28 #289E4F
tetradic
#4F289E #9E283C #779E28 #289E8A
square
#4F289E #9E283C #779E28 #289E8A
split-complementary
#4F289E #9E8A28 #3C9E28
monochromatic
#1E0F3C #371C6D #4F289E #6837CC #8D68D9

Accessibility & contrast

On white

9.86
#4F289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F289E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F289E#FFFFFF#000000##FFFFFF
##4F289E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#354861
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f289e;
/* rgb */ color: rgb(79, 40, 158);
/* oklch */ color: oklch(40.4% 0.177 291.5);
Tailwind
colors: {
  custom: {
    50: '#8866bc',
    500: '#4f289e',
    950: '#000000',
  },
}
SCSS
$custom: #4f289e;
$custom-light: #8866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f289e",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 259.831,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40395,
    "c": 0.17725,
    "h": 291.5
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#4F289E
secondary
#A0BF63
accent
#E345AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F289E

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

Preview Lab → · Contrast checker → · Palette generator →

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