#4F2C90#4F2C90

#4F2C90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.156 H 294.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4F2C90
RGBrgb(79, 44, 144)
HSLhsl(261, 53%, 37%)
HSVhsv(261, 69%, 56%)
CMYKcmyk(45.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(28.05, 39.34, -49.63)
CIE-LCHlch(28.05, 63.33, 308.40°)
OKLaboklab(39.7% 0.0639 -0.1419)
OKLCHoklch(39.7% 0.156 294.2)
XYZxyz(9.1578, 5.4770, 26.9548)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C90 #6D902C
analogous
#2C3B90 #4F2C90 #812C90
triadic
#4F2C90 #904F2C #2C904F
tetradic
#4F2C90 #902C3B #6D902C #2C9081
square
#4F2C90 #902C3B #6D902C #2C9081
split-complementary
#4F2C90 #90812C #3B902C
monochromatic
#1C0F32 #351E61 #4F2C90 #693ABF #8B66D0

Accessibility & contrast

On white

10.02
#4F2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C90
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C90#FFFFFF#000000##FFFFFF
##4F2C901.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#3D445A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2c90;
/* rgb */ color: rgb(79, 44, 144);
/* oklch */ color: oklch(39.7% 0.156 294.2);
Tailwind
colors: {
  custom: {
    50: '#8668b1',
    500: '#4f2c90',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c90;
$custom-light: #8668b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c90",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 261,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.15566,
    "h": 294.2
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#4F2C90
secondary
#99B761
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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