#4F30AE#4F30AE

#4F30AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.187 H 286.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4F30AE
RGBrgb(79, 48, 174)
HSLhsl(255, 57%, 44%)
HSVhsv(255, 72%, 68%)
CMYKcmyk(54.6%, 72.4%, 0%, 31.8%)
CIE-LABlab(31.42, 45.87, -62.34)
CIE-LCHlch(31.42, 77.40, 306.34°)
OKLaboklab(42.9% 0.0544 -0.1793)
OKLCHoklch(42.9% 0.187 286.9)
XYZxyz(11.9191, 6.8315, 40.7268)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30AE #8FAE30
analogous
#3050AE #4F30AE #8E30AE
triadic
#4F30AE #AE4F30 #30AE4F
tetradic
#4F30AE #AE3050 #8FAE30 #30AE8E
square
#4F30AE #AE3050 #8FAE30 #30AE8E
split-complementary
#4F30AE #AE8E30 #50AE30
monochromatic
#23164E #39237E #4F30AE #6D4DCE #947DDB

Accessibility & contrast

On white

8.87
#4F30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30AE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30AE#FFFFFF#000000##FFFFFF
##4F30AE1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#27526C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f30ae;
/* rgb */ color: rgb(79, 48, 174);
/* oklch */ color: oklch(42.9% 0.187 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a6bc7',
    500: '#4f30ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f30ae;
$custom-light: #8a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30ae",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 254.762,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42899,
    "c": 0.18735,
    "h": 286.9
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#4F30AE
secondary
#B1C476
accent
#E048BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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