#4F249B#4F249B

#4F249B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.178 H 292.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4F249B
RGBrgb(79, 36, 155)
HSLhsl(262, 62%, 37%)
HSVhsv(262, 77%, 61%)
CMYKcmyk(49%, 76.8%, 0%, 39.2%)
CIE-LABlab(27.55, 46.52, -57.21)
CIE-LCHlch(27.55, 73.74, 309.12°)
OKLaboklab(39.64% 0.0691 -0.1642)
OKLCHoklch(39.64% 0.178 292.8)
XYZxyz(9.7701, 5.2902, 31.5103)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249B #709B24
analogous
#24349B #4F249B #8B249B
triadic
#4F249B #9B4F24 #249B4F
tetradic
#4F249B #9B2434 #709B24 #249B8B
square
#4F249B #9B2434 #709B24 #249B8B
split-complementary
#4F249B #9B8B24 #349B24
monochromatic
#1C0D38 #361869 #4F249B #6830CD #8C5FDA

Accessibility & contrast

On white

10.20
#4F249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249B#FFFFFF#000000##FFFFFF
##4F249B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#37455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f249b;
/* rgb */ color: rgb(79, 36, 155);
/* oklch */ color: oklch(39.6% 0.178 292.8);
Tailwind
colors: {
  custom: {
    50: '#8864ba',
    500: '#4f249b',
    950: '#000000',
  },
}
SCSS
$custom: #4f249b;
$custom-light: #8864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249b",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 261.681,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.17812,
    "h": 292.8
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#4F249B
secondary
#9BBF5C
accent
#E542AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249B

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

Preview Lab → · Contrast checker → · Palette generator →

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