#4F289B#4F289B

#4F289B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.174 H 292.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4F289B
RGBrgb(79, 40, 155)
HSLhsl(260, 59%, 38%)
HSVhsv(260, 74%, 61%)
CMYKcmyk(49%, 74.2%, 0%, 39.2%)
CIE-LABlab(28.24, 44.56, -56.08)
CIE-LCHlch(28.24, 71.63, 308.47°)
OKLaboklab(40.12% 0.0656 -0.1609)
OKLCHoklch(40.12% 0.174 292.2)
XYZxyz(9.8980, 5.5461, 31.5530)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F289B #749B28
analogous
#283A9B #4F289B #88289B
triadic
#4F289B #9B4F28 #289B4F
tetradic
#4F289B #9B283A #749B28 #289B88
square
#4F289B #9B283A #749B28 #289B88
split-complementary
#4F289B #9B8828 #3A9B28
monochromatic
#1D0F3A #361B6A #4F289B #6835CB #8C66D7

Accessibility & contrast

On white

9.96
#4F289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F289B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F289B#FFFFFF#000000##FFFFFF
##4F289B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#37465F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f289b;
/* rgb */ color: rgb(79, 40, 155);
/* oklch */ color: oklch(40.1% 0.174 292.2);
Tailwind
colors: {
  custom: {
    50: '#8866b9',
    500: '#4f289b',
    950: '#000000',
  },
}
SCSS
$custom: #4f289b;
$custom-light: #8866b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f289b",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 260.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.17375,
    "h": 292.2
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#4F289B
secondary
#9EBD61
accent
#E246AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F289B

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

Preview Lab → · Contrast checker → · Palette generator →

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