#4F2393#4F2393

#4F2393 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.170 H 295.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4F2393
RGBrgb(79, 35, 147)
HSLhsl(264, 62%, 36%)
HSVhsv(264, 76%, 58%)
CMYKcmyk(46.3%, 76.2%, 0%, 42.4%)
CIE-LABlab(26.65, 44.82, -53.77)
CIE-LCHlch(26.65, 69.99, 309.81°)
OKLaboklab(38.78% 0.0721 -0.154)
OKLCHoklch(38.78% 0.17 295.1)
XYZxyz(9.0905, 4.9707, 28.0786)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2393 #679323
analogous
#232F93 #4F2393 #872393
triadic
#4F2393 #934F23 #23934F
tetradic
#4F2393 #93232F #679323 #239387
square
#4F2393 #93232F #679323 #239387
split-complementary
#4F2393 #938723 #2F9323
monochromatic
#1A0B30 #341762 #4F2393 #6A2FC4 #8B59D7

Accessibility & contrast

On white

10.53
#4F2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2393
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2393#FFFFFF#000000##FFFFFF
##4F23931.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#3C4159
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2393;
/* rgb */ color: rgb(79, 35, 147);
/* oklch */ color: oklch(38.8% 0.170 295.1);
Tailwind
colors: {
  custom: {
    50: '#8763b4',
    500: '#4f2393',
    950: '#000000',
  },
}
SCSS
$custom: #4f2393;
$custom-light: #8763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2393",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 263.571,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.17009,
    "h": 295.1
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#4F2393
secondary
#94BC56
accent
#E543A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2393

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

Preview Lab → · Contrast checker → · Palette generator →

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