#4F2290#4F2290

#4F2290 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.168 H 296.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2290
RGBrgb(79, 34, 144)
HSLhsl(265, 62%, 35%)
HSVhsv(265, 76%, 56%)
CMYKcmyk(45.1%, 76.4%, 0%, 43.5%)
CIE-LABlab(26.21, 44.49, -52.63)
CIE-LCHlch(26.21, 68.91, 310.21°)
OKLaboklab(38.39% 0.0738 -0.1507)
OKLCHoklch(38.39% 0.168 296.1)
XYZxyz(8.8292, 4.8197, 26.8453)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2290 #639022
analogous
#222C90 #4F2290 #862290
triadic
#4F2290 #904F22 #22904F
tetradic
#4F2290 #90222C #639022 #229086
square
#4F2290 #90222C #639022 #229086
split-complementary
#4F2290 #908622 #2C9022
monochromatic
#190B2D #34165E #4F2290 #6A2EC2 #8A55D7

Accessibility & contrast

On white

10.69
#4F2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4F2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2290
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2290#FFFFFF#000000##FFFFFF
##4F22901.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3D3F57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2290;
/* rgb */ color: rgb(79, 34, 144);
/* oklch */ color: oklch(38.4% 0.168 296.1);
Tailwind
colors: {
  custom: {
    50: '#8762b1',
    500: '#4f2290',
    950: '#000000',
  },
}
SCSS
$custom: #4f2290;
$custom-light: #8762b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2290",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 264.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.1678,
    "h": 296.1
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#4F2290
secondary
#90BB53
accent
#E543A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2290

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

Preview Lab → · Contrast checker → · Palette generator →

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