#4F2193#4F2193

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

Color values

HEX#4F2193
RGBrgb(79, 33, 147)
HSLhsl(264, 63%, 35%)
HSVhsv(264, 78%, 58%)
CMYKcmyk(46.3%, 77.6%, 0%, 42.4%)
CIE-LABlab(26.32, 45.76, -54.31)
CIE-LCHlch(26.32, 71.01, 310.12°)
OKLaboklab(38.55% 0.0739 -0.1556)
OKLCHoklch(38.55% 0.172 295.4)
XYZxyz(9.0333, 4.8563, 28.0595)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2193 #659321
analogous
#212C93 #4F2193 #882193
triadic
#4F2193 #934F21 #21934F
tetradic
#4F2193 #93212C #659321 #219388
square
#4F2193 #93212C #659321 #219388
split-complementary
#4F2193 #938821 #2C9321
monochromatic
#190B2F #341661 #4F2193 #6A2CC5 #8B55D9

Accessibility & contrast

On white

10.65
#4F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2193
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2193#FFFFFF#000000##FFFFFF
##4F21931.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#3C4059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2193;
/* rgb */ color: rgb(79, 33, 147);
/* oklch */ color: oklch(38.6% 0.172 295.4);
Tailwind
colors: {
  custom: {
    50: '#8762b4',
    500: '#4f2193',
    950: '#000000',
  },
}
SCSS
$custom: #4f2193;
$custom-light: #8762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2193",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 264.211,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.17226,
    "h": 295.4
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#4F2193
secondary
#92BD53
accent
#E641A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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