#4F30C9#4F30C9

#4F30C9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.219 H 282.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4F30C9
RGBrgb(79, 48, 201)
HSLhsl(252, 61%, 49%)
HSVhsv(252, 76%, 79%)
CMYKcmyk(60.7%, 76.1%, 0%, 21.2%)
CIE-LABlab(33.97, 53.75, -74.10)
CIE-LCHlch(33.97, 91.54, 305.95°)
OKLaboklab(45.47% 0.0478 -0.2137)
OKLCHoklch(45.47% 0.219 282.6)
XYZxyz(14.8207, 7.9922, 56.0087)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30C9 #AAC930
analogous
#305EC9 #4F30C9 #9C30C9
triadic
#4F30C9 #C94F30 #30C94F
tetradic
#4F30C9 #C9305E #AAC930 #30C99C
square
#4F30C9 #C9305E #AAC930 #30C99C
split-complementary
#4F30C9 #C99C30 #5EC930
monochromatic
#281866 #3C2498 #4F30C9 #775ED8 #A08FE4

Accessibility & contrast

On white

8.08
#4F30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F30C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30C9
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30C9#FFFFFF#000000##FFFFFF
##4F30C91.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f30c9;
/* rgb */ color: rgb(79, 48, 201);
/* oklch */ color: oklch(45.5% 0.219 282.6);
Tailwind
colors: {
  custom: {
    50: '#8f6ddb',
    500: '#4f30c9',
    950: '#000000',
  },
}
SCSS
$custom: #4f30c9;
$custom-light: #8f6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30c9",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 252.157,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.21896,
    "h": 282.6
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#4F30C9
secondary
#C0CF86
accent
#E543C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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