#4F2394#4F2394

#4F2394 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.171 H 294.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4F2394
RGBrgb(79, 35, 148)
HSLhsl(263, 62%, 36%)
HSVhsv(263, 76%, 58%)
CMYKcmyk(46.6%, 76.4%, 0%, 42%)
CIE-LABlab(26.74, 45.09, -54.23)
CIE-LCHlch(26.74, 70.53, 309.74°)
OKLaboklab(38.87% 0.0719 -0.1554)
OKLCHoklch(38.87% 0.171 294.8)
XYZxyz(9.1693, 5.0022, 28.4936)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2394 #689423
analogous
#232F94 #4F2394 #872394
triadic
#4F2394 #944F23 #23944F
tetradic
#4F2394 #94232F #689423 #239487
square
#4F2394 #94232F #689423 #239487
split-complementary
#4F2394 #948723 #2F9423
monochromatic
#1A0C31 #351763 #4F2394 #692FC5 #8B5AD8

Accessibility & contrast

On white

10.50
#4F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2394
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2394#FFFFFF#000000##FFFFFF
##4F23941.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#3B415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2394;
/* rgb */ color: rgb(79, 35, 148);
/* oklch */ color: oklch(38.9% 0.171 294.8);
Tailwind
colors: {
  custom: {
    50: '#8763b4',
    500: '#4f2394',
    950: '#000000',
  },
}
SCSS
$custom: #4f2394;
$custom-light: #8763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2394",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 263.363,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.17123,
    "h": 294.8
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#4F2394
secondary
#95BC57
accent
#E543A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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