#4F2075#4F2075

#4F2075 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.140 H 305.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2075
RGBrgb(79, 32, 117)
HSLhsl(273, 57%, 29%)
HSVhsv(273, 73%, 46%)
CMYKcmyk(32.5%, 72.6%, 0%, 54.1%)
CIE-LABlab(23.60, 38.39, -39.89)
CIE-LCHlch(23.60, 55.36, 313.90°)
OKLaboklab(35.84% 0.0815 -0.1133)
OKLCHoklch(35.84% 0.14 305.7)
XYZxyz(6.9511, 3.9797, 17.2281)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2075 #467520
analogous
#242075 #4F2075 #752071
triadic
#4F2075 #754F20 #20754F
tetradic
#4F2075 #752420 #467520 #207175
square
#4F2075 #752420 #467520 #207175
split-complementary
#4F2075 #717520 #207524
monochromatic
#100718 #2F1345 #4F2075 #6F2DA5 #8F44CC

Accessibility & contrast

On white

11.69
#4F2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2075
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2075#FFFFFF#000000##FFFFFF
##4F20751.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#483348
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2075;
/* rgb */ color: rgb(79, 32, 117);
/* oklch */ color: oklch(35.8% 0.140 305.7);
Tailwind
colors: {
  custom: {
    50: '#84609d',
    500: '#4f2075',
    950: '#000000',
  },
}
SCSS
$custom: #4f2075;
$custom-light: #84609d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2075",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 273.176,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35839,
    "c": 0.13954,
    "h": 305.7
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#4F2075
secondary
#73A848
accent
#E0478C
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2075

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

Preview Lab → · Contrast checker → · Palette generator →

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