#4F1975#4F1975

#4F1975 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.148 H 306.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#4F1975
RGBrgb(79, 25, 117)
HSLhsl(275, 65%, 28%)
HSVhsv(275, 79%, 46%)
CMYKcmyk(32.5%, 78.6%, 0%, 54.1%)
CIE-LABlab(22.45, 41.65, -41.76)
CIE-LCHlch(22.45, 58.98, 314.92°)
OKLaboklab(35.02% 0.089 -0.1187)
OKLCHoklch(35.02% 0.148 306.8)
XYZxyz(6.7823, 3.6420, 17.1718)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1975 #3F7519
analogous
#211975 #4F1975 #75196D
triadic
#4F1975 #754F19 #19754F
tetradic
#4F1975 #752119 #3F7519 #196D75
square
#4F1975 #752119 #3F7519 #196D75
split-complementary
#4F1975 #6D7519 #197521
monochromatic
#110519 #2D0E43 #4F1975 #7124A7 #9235D4

Accessibility & contrast

On white

12.15
#4F1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4F1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1975
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1975#FFFFFF#000000##FFFFFF
##4F19751.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#483046
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1975;
/* rgb */ color: rgb(79, 25, 117);
/* oklch */ color: oklch(35.0% 0.148 306.8);
Tailwind
colors: {
  custom: {
    50: '#855c9d',
    500: '#4f1975',
    950: '#000000',
  },
}
SCSS
$custom: #4f1975;
$custom-light: #855c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1975",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 275.217,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.14835,
    "h": 306.8
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#4F1975
secondary
#6CAA40
accent
#E84085
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1975

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

Preview Lab → · Contrast checker → · Palette generator →

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