#4F2094#4F2094

#4F2094 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 295.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4F2094
RGBrgb(79, 32, 148)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 58%)
CMYKcmyk(46.6%, 78.4%, 0%, 42%)
CIE-LABlab(26.25, 46.48, -55.03)
CIE-LCHlch(26.25, 72.03, 310.18°)
OKLaboklab(38.53% 0.0744 -0.1577)
OKLCHoklch(38.53% 0.174 295.3)
XYZxyz(9.0848, 4.8332, 28.4655)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2094 #659420
analogous
#202B94 #4F2094 #892094
triadic
#4F2094 #944F20 #20944F
tetradic
#4F2094 #94202B #659420 #209489
square
#4F2094 #94202B #659420 #209489
split-complementary
#4F2094 #948920 #2B9420
monochromatic
#190A2F #341562 #4F2094 #6A2BC6 #8B54DA

Accessibility & contrast

On white

10.68
#4F2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2094
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2094#FFFFFF#000000##FFFFFF
##4F20941.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#3B4059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2094;
/* rgb */ color: rgb(79, 32, 148);
/* oklch */ color: oklch(38.5% 0.174 295.3);
Tailwind
colors: {
  custom: {
    50: '#8861b4',
    500: '#4f2094',
    950: '#000000',
  },
}
SCSS
$custom: #4f2094;
$custom-light: #8861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2094",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 264.31,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.17442,
    "h": 295.3
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#4F2094
secondary
#92BE52
accent
#E740A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F2094

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

Preview Lab → · Contrast checker → · Palette generator →

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