#4F289C#4F289C

#4F289C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.175 H 292.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4F289C
RGBrgb(79, 40, 156)
HSLhsl(260, 59%, 38%)
HSVhsv(260, 74%, 61%)
CMYKcmyk(49.4%, 74.4%, 0%, 38.8%)
CIE-LABlab(28.33, 44.84, -56.54)
CIE-LCHlch(28.33, 72.16, 308.42°)
OKLaboklab(40.21% 0.0654 -0.1622)
OKLCHoklch(40.21% 0.175 292)
XYZxyz(9.9823, 5.5798, 31.9971)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F289C #759C28
analogous
#283B9C #4F289C #89289C
triadic
#4F289C #9C4F28 #289C4F
tetradic
#4F289C #9C283B #759C28 #289C89
square
#4F289C #9C283B #759C28 #289C89
split-complementary
#4F289C #9C8928 #3B9C28
monochromatic
#1E0F3B #361C6B #4F289C #6836CB #8D67D8

Accessibility & contrast

On white

9.92
#4F289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F289C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F289C#FFFFFF#000000##FFFFFF
##4F289C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#364760
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f289c;
/* rgb */ color: rgb(79, 40, 156);
/* oklch */ color: oklch(40.2% 0.175 292.0);
Tailwind
colors: {
  custom: {
    50: '#8866ba',
    500: '#4f289c',
    950: '#000000',
  },
}
SCSS
$custom: #4f289c;
$custom-light: #8866ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f289c",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 260.172,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.17492,
    "h": 292
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#4F289C
secondary
#9FBE62
accent
#E245AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F289C

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

Preview Lab → · Contrast checker → · Palette generator →

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