#4F2293#4F2293

#4F2293 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.171 H 295.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4F2293
RGBrgb(79, 34, 147)
HSLhsl(264, 62%, 35%)
HSVhsv(264, 77%, 58%)
CMYKcmyk(46.3%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.48, 45.29, -54.04)
CIE-LCHlch(26.48, 70.51, 309.97°)
OKLaboklab(38.67% 0.073 -0.1548)
OKLCHoklch(38.67% 0.171 295.2)
XYZxyz(9.0615, 4.9127, 28.0689)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2293 #669322
analogous
#222D93 #4F2293 #872293
triadic
#4F2293 #934F22 #22934F
tetradic
#4F2293 #93222D #669322 #229387
square
#4F2293 #93222D #669322 #229387
split-complementary
#4F2293 #938722 #2D9322
monochromatic
#1A0B30 #341761 #4F2293 #6A2DC5 #8B57D8

Accessibility & contrast

On white

10.59
#4F2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2293
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2293#FFFFFF#000000##FFFFFF
##4F22931.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2293;
/* rgb */ color: rgb(79, 34, 147);
/* oklch */ color: oklch(38.7% 0.171 295.2);
Tailwind
colors: {
  custom: {
    50: '#8762b4',
    500: '#4f2293',
    950: '#000000',
  },
}
SCSS
$custom: #4f2293;
$custom-light: #8762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2293",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 263.894,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.17119,
    "h": 295.2
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#4F2293
secondary
#93BC55
accent
#E542A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2293

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

Preview Lab → · Contrast checker → · Palette generator →

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