#4F2595#4F2595

#4F2595 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.170 H 294.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4F2595
RGBrgb(79, 37, 149)
HSLhsl(263, 60%, 36%)
HSVhsv(263, 75%, 58%)
CMYKcmyk(47%, 75.2%, 0%, 41.6%)
CIE-LABlab(27.17, 44.39, -54.14)
CIE-LCHlch(27.17, 70.02, 309.35°)
OKLaboklab(39.21% 0.0698 -0.1552)
OKLCHoklch(39.21% 0.17 294.2)
XYZxyz(9.3094, 5.1551, 28.9325)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2595 #6B9525
analogous
#253395 #4F2595 #872595
triadic
#4F2595 #954F25 #25954F
tetradic
#4F2595 #952533 #6B9525 #259587
square
#4F2595 #952533 #6B9525 #259587
split-complementary
#4F2595 #958725 #339525
monochromatic
#1B0D33 #351964 #4F2595 #6931C6 #8B5ED7

Accessibility & contrast

On white

10.34
#4F2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2595
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2595#FFFFFF#000000##FFFFFF
##4F25951.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#3A435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2595;
/* rgb */ color: rgb(79, 37, 149);
/* oklch */ color: oklch(39.2% 0.170 294.2);
Tailwind
colors: {
  custom: {
    50: '#8764b5',
    500: '#4f2595',
    950: '#000000',
  },
}
SCSS
$custom: #4f2595;
$custom-light: #8764b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2595",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 262.5,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.17016,
    "h": 294.2
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#4F2595
secondary
#97BC5A
accent
#E344A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2595

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

Preview Lab → · Contrast checker → · Palette generator →

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