#4F30C7#4F30C7

#4F30C7 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.217 H 282.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4F30C7
RGBrgb(79, 48, 199)
HSLhsl(252, 61%, 48%)
HSVhsv(252, 76%, 78%)
CMYKcmyk(60.3%, 75.9%, 0%, 22%)
CIE-LABlab(33.77, 53.17, -73.25)
CIE-LCHlch(33.77, 90.52, 305.97°)
OKLaboklab(45.27% 0.0484 -0.2112)
OKLCHoklch(45.27% 0.217 282.9)
XYZxyz(14.5870, 7.8987, 54.7777)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30C7 #A8C730
analogous
#305CC7 #4F30C7 #9A30C7
triadic
#4F30C7 #C74F30 #30C74F
tetradic
#4F30C7 #C7305C #A8C730 #30C79A
square
#4F30C7 #C7305C #A8C730 #30C79A
split-complementary
#4F30C7 #C79A30 #5CC730
monochromatic
#281864 #3B2496 #4F30C7 #765CD8 #9F8EE4

Accessibility & contrast

On white

8.14
#4F30C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F30C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30C7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30C7#FFFFFF#000000##FFFFFF
##4F30C71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f30c7;
/* rgb */ color: rgb(79, 48, 199);
/* oklch */ color: oklch(45.3% 0.217 282.9);
Tailwind
colors: {
  custom: {
    50: '#8e6cd9',
    500: '#4f30c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f30c7;
$custom-light: #8e6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30c7",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 252.318,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.21668,
    "h": 282.9
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#4F30C7
secondary
#BFCE85
accent
#E444C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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