#4F30C0#4F30C0

#4F30C0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.209 H 283.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4F30C0
RGBrgb(79, 48, 192)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(58.9%, 75%, 0%, 24.7%)
CIE-LABlab(33.09, 51.13, -70.26)
CIE-LCHlch(33.09, 86.90, 306.05°)
OKLaboklab(44.59% 0.0501 -0.2025)
OKLCHoklch(44.59% 0.209 283.9)
XYZxyz(13.7929, 7.5811, 50.5954)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30C0 #A1C030
analogous
#3059C0 #4F30C0 #9730C0
triadic
#4F30C0 #C04F30 #30C04F
tetradic
#4F30C0 #C03059 #A1C030 #30C097
square
#4F30C0 #C03059 #A1C030 #30C097
split-complementary
#4F30C0 #C09730 #59C030
monochromatic
#27185E #3B248F #4F30C0 #7358D5 #9C89E1

Accessibility & contrast

On white

8.35
#4F30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30C0
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30C0#FFFFFF#000000##FFFFFF
##4F30C01.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#055976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f30c0;
/* rgb */ color: rgb(79, 48, 192);
/* oklch */ color: oklch(44.6% 0.209 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d6cd4',
    500: '#4f30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4f30c0;
$custom-light: #8d6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30c0",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 252.917,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.20859,
    "h": 283.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#4F30C0
secondary
#BBCB80
accent
#E345C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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