#4F279B#4F279B

#4F279B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.175 H 292.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4F279B
RGBrgb(79, 39, 155)
HSLhsl(261, 60%, 38%)
HSVhsv(261, 75%, 61%)
CMYKcmyk(49%, 74.8%, 0%, 39.2%)
CIE-LABlab(28.06, 45.06, -56.37)
CIE-LCHlch(28.06, 72.17, 308.64°)
OKLaboklab(40% 0.0665 -0.1617)
OKLCHoklch(40% 0.175 292.4)
XYZxyz(9.8647, 5.4795, 31.5419)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F279B #739B27
analogous
#27399B #4F279B #89279B
triadic
#4F279B #9B4F27 #279B4F
tetradic
#4F279B #9B2739 #739B27 #279B89
square
#4F279B #9B2739 #739B27 #279B89
split-complementary
#4F279B #9B8927 #399B27
monochromatic
#1D0E39 #361B6A #4F279B #6833CC #8C64D8

Accessibility & contrast

On white

10.02
#4F279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F279B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F279B#FFFFFF#000000##FFFFFF
##4F279B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f279b;
/* rgb */ color: rgb(79, 39, 155);
/* oklch */ color: oklch(40.0% 0.175 292.4);
Tailwind
colors: {
  custom: {
    50: '#8865b9',
    500: '#4f279b',
    950: '#000000',
  },
}
SCSS
$custom: #4f279b;
$custom-light: #8865b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f279b",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 260.69,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.17487,
    "h": 292.4
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#4F279B
secondary
#9DBE60
accent
#E345AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F279B

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

Preview Lab → · Contrast checker → · Palette generator →

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