#4F2575#4F2575

#4F2575 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.132 H 304.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4F2575
RGBrgb(79, 37, 117)
HSLhsl(272, 52%, 30%)
HSVhsv(272, 68%, 46%)
CMYKcmyk(32.5%, 68.4%, 0%, 54.1%)
CIE-LABlab(24.54, 35.78, -38.37)
CIE-LCHlch(24.54, 52.47, 313.00°)
OKLaboklab(36.51% 0.0756 -0.1088)
OKLCHoklch(36.51% 0.132 304.8)
XYZxyz(7.0962, 4.2698, 17.2765)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2575 #4B7525
analogous
#272575 #4F2575 #752573
triadic
#4F2575 #754F25 #25754F
tetradic
#4F2575 #752725 #4B7525 #257375
square
#4F2575 #752725 #4B7525 #257375
split-complementary
#4F2575 #737525 #257527
monochromatic
#100818 #301647 #4F2575 #6E34A3 #8D4EC7

Accessibility & contrast

On white

11.33
#4F2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2575
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2575#FFFFFF#000000##FFFFFF
##4F25751.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#0D3A73
Tritanopia (blue-blind)
#483649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2575;
/* rgb */ color: rgb(79, 37, 117);
/* oklch */ color: oklch(36.5% 0.132 304.8);
Tailwind
colors: {
  custom: {
    50: '#84639d',
    500: '#4f2575',
    950: '#000000',
  },
}
SCSS
$custom: #4f2575;
$custom-light: #84639d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2575",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 271.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.13248,
    "h": 304.8
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#4F2575
secondary
#79A84E
accent
#DB4C90
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F2575

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

Preview Lab → · Contrast checker → · Palette generator →

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