#4F30BF#4F30BF

#4F30BF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.207 H 284.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4F30BF
RGBrgb(79, 48, 191)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(58.6%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.00, 50.84, -69.83)
CIE-LCHlch(33.00, 86.38, 306.06°)
OKLaboklab(44.5% 0.0504 -0.2012)
OKLCHoklch(44.5% 0.207 284.1)
XYZxyz(13.6825, 7.5369, 50.0139)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30BF #A0BF30
analogous
#3059BF #4F30BF #9730BF
triadic
#4F30BF #BF4F30 #30BF4F
tetradic
#4F30BF #BF3059 #A0BF30 #30BF97
square
#4F30BF #BF3059 #A0BF30 #30BF97
split-complementary
#4F30BF #BF9730 #59BF30
monochromatic
#27175D #3B248E #4F30BF #7357D5 #9C88E1

Accessibility & contrast

On white

8.37
#4F30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30BF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30BF#FFFFFF#000000##FFFFFF
##4F30BF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#095875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f30bf;
/* rgb */ color: rgb(79, 48, 191);
/* oklch */ color: oklch(44.5% 0.207 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d6cd4',
    500: '#4f30bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f30bf;
$custom-light: #8d6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30bf",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 253.007,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.20742,
    "h": 284.1
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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