#4F2490#4F2490

#4F2490 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.166 H 295.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4F2490
RGBrgb(79, 36, 144)
HSLhsl(264, 60%, 35%)
HSVhsv(264, 75%, 56%)
CMYKcmyk(45.1%, 75%, 0%, 43.5%)
CIE-LABlab(26.56, 43.52, -52.07)
CIE-LCHlch(26.56, 67.86, 309.89°)
OKLaboklab(38.63% 0.0719 -0.1491)
OKLCHoklch(38.63% 0.166 295.8)
XYZxyz(8.8880, 4.9374, 26.8649)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2490 #659024
analogous
#242F90 #4F2490 #852490
triadic
#4F2490 #904F24 #24904F
tetradic
#4F2490 #90242F #659024 #249085
square
#4F2490 #90242F #659024 #249085
split-complementary
#4F2490 #908524 #2F9024
monochromatic
#190C2E #34185F #4F2490 #6A30C1 #8B59D5

Accessibility & contrast

On white

10.57
#4F2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2490
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2490#FFFFFF#000000##FFFFFF
##4F24901.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#3D4058
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2490;
/* rgb */ color: rgb(79, 36, 144);
/* oklch */ color: oklch(38.6% 0.166 295.8);
Tailwind
colors: {
  custom: {
    50: '#8763b1',
    500: '#4f2490',
    950: '#000000',
  },
}
SCSS
$custom: #4f2490;
$custom-light: #8763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2490",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 263.889,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.16553,
    "h": 295.8
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#4F2490
secondary
#92BA56
accent
#E345A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2490

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

Preview Lab → · Contrast checker → · Palette generator →

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