#4F2A90#4F2A90

#4F2A90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.158 H 294.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4F2A90
RGBrgb(79, 42, 144)
HSLhsl(262, 55%, 36%)
HSVhsv(262, 71%, 56%)
CMYKcmyk(45.1%, 70.8%, 0%, 43.5%)
CIE-LABlab(27.66, 40.43, -50.27)
CIE-LCHlch(27.66, 64.51, 308.81°)
OKLaboklab(39.42% 0.066 -0.1438)
OKLCHoklch(39.42% 0.158 294.7)
XYZxyz(9.0851, 5.3316, 26.9306)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A90 #6B902A
analogous
#2A3890 #4F2A90 #822A90
triadic
#4F2A90 #904F2A #2A904F
tetradic
#4F2A90 #902A38 #6B902A #2A9082
square
#4F2A90 #902A38 #6B902A #2A9082
split-complementary
#4F2A90 #90822A #38902A
monochromatic
#1B0E31 #351C61 #4F2A90 #6938BF #8B63D1

Accessibility & contrast

On white

10.16
#4F2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A90
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A90#FFFFFF#000000##FFFFFF
##4F2A901.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#3D435A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2a90;
/* rgb */ color: rgb(79, 42, 144);
/* oklch */ color: oklch(39.4% 0.158 294.7);
Tailwind
colors: {
  custom: {
    50: '#8667b1',
    500: '#4f2a90',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a90;
$custom-light: #8667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a90",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 261.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.15824,
    "h": 294.7
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#4F2A90
secondary
#97B75E
accent
#DE4AA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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