#4F2175#4F2175

#4F2175 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.138 H 305.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#4F2175
RGBrgb(79, 33, 117)
HSLhsl(273, 56%, 29%)
HSVhsv(273, 72%, 46%)
CMYKcmyk(32.5%, 71.8%, 0%, 54.1%)
CIE-LABlab(23.78, 37.88, -39.60)
CIE-LCHlch(23.78, 54.80, 313.73°)
OKLaboklab(35.97% 0.0804 -0.1124)
OKLCHoklch(35.97% 0.138 305.6)
XYZxyz(6.9785, 4.0344, 17.2372)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2175 #477521
analogous
#252175 #4F2175 #752171
triadic
#4F2175 #754F21 #21754F
tetradic
#4F2175 #752521 #477521 #217175
square
#4F2175 #752521 #477521 #217175
split-complementary
#4F2175 #717521 #217525
monochromatic
#100718 #2F1445 #4F2175 #6F2EA5 #8F46CB

Accessibility & contrast

On white

11.62
#4F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2175
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2175#FFFFFF#000000##FFFFFF
##4F21751.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#483448
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f2175;
/* rgb */ color: rgb(79, 33, 117);
/* oklch */ color: oklch(36.0% 0.138 305.6);
Tailwind
colors: {
  custom: {
    50: '#84609d',
    500: '#4f2175',
    950: '#000000',
  },
}
SCSS
$custom: #4f2175;
$custom-light: #84609d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2175",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 272.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.13818,
    "h": 305.6
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#4F2175
secondary
#74A84A
accent
#DF498D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2175

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

Preview Lab → · Contrast checker → · Palette generator →

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