#4F2270#4F2270

#4F2270 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.131 H 307.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#4F2270
RGBrgb(79, 34, 112)
HSLhsl(275, 53%, 29%)
HSVhsv(275, 70%, 44%)
CMYKcmyk(29.5%, 69.6%, 0%, 56.1%)
CIE-LABlab(23.59, 36.10, -36.70)
CIE-LCHlch(23.59, 51.48, 314.52°)
OKLaboklab(35.71% 0.0798 -0.1039)
OKLCHoklch(35.71% 0.131 307.5)
XYZxyz(6.7205, 3.9763, 15.7395)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2270 #437022
analogous
#282270 #4F2270 #70226A
triadic
#4F2270 #704F22 #22704F
tetradic
#4F2270 #702822 #437022 #226A70
square
#4F2270 #702822 #437022 #226A70
split-complementary
#4F2270 #6A7022 #227028
monochromatic
#110717 #2E1441 #4F2270 #70309F #9046C7

Accessibility & contrast

On white

11.70
#4F2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2270
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2270#FFFFFF#000000##FFFFFF
##4F22701.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#11396E
Tritanopia (blue-blind)
#4A3346
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2270;
/* rgb */ color: rgb(79, 34, 112);
/* oklch */ color: oklch(35.7% 0.131 307.5);
Tailwind
colors: {
  custom: {
    50: '#84619a',
    500: '#4f2270',
    950: '#000000',
  },
}
SCSS
$custom: #4f2270;
$custom-light: #84619a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2270",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 274.615,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3571,
    "c": 0.13098,
    "h": 307.5
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#4F2270
secondary
#70A34A
accent
#DD4B89
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2270

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

Preview Lab → · Contrast checker → · Palette generator →

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