#4F2ABC#4F2ABC

#4F2ABC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.210 H 285.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4F2ABC
RGBrgb(79, 42, 188)
HSLhsl(255, 63%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(58%, 77.7%, 0%, 26.3%)
CIE-LABlab(31.69, 52.90, -70.22)
CIE-LCHlch(31.69, 87.91, 306.99°)
OKLaboklab(43.49% 0.0553 -0.2023)
OKLCHoklch(43.49% 0.21 285.3)
XYZxyz(13.1268, 6.9482, 48.2166)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2ABC #97BC2A
analogous
#2A4EBC #4F2ABC #982ABC
triadic
#4F2ABC #BC4F2A #2ABC4F
tetradic
#4F2ABC #BC2A4E #97BC2A #2ABC98
square
#4F2ABC #BC2A4E #97BC2A #2ABC98
split-complementary
#4F2ABC #BC982A #4EBC2A
monochromatic
#251458 #3A1F8A #4F2ABC #6F4CD7 #987EE2

Accessibility & contrast

On white

8.79
#4F2ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4F2ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2ABC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2ABC#FFFFFF#000000##FFFFFF
##4F2ABC1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#135472
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2abc;
/* rgb */ color: rgb(79, 42, 188);
/* oklch */ color: oklch(43.5% 0.210 285.3);
Tailwind
colors: {
  custom: {
    50: '#8d69d1',
    500: '#4f2abc',
    950: '#000000',
  },
}
SCSS
$custom: #4f2abc;
$custom-light: #8d69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2abc",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 255.205,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.20971,
    "h": 285.3
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#4F2ABC
secondary
#B6CB77
accent
#E741BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4F2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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