#4F30BB#4F30BB

#4F30BB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.1% C 0.203 H 284.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F30BB
RGBrgb(79, 48, 187)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 73%)
CMYKcmyk(57.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.62, 49.68, -68.10)
CIE-LCHlch(32.62, 84.29, 306.11°)
OKLaboklab(44.11% 0.0514 -0.1961)
OKLCHoklch(44.11% 0.203 284.7)
XYZxyz(13.2483, 7.3632, 47.7272)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30BB #9CBB30
analogous
#3056BB #4F30BB #9430BB
triadic
#4F30BB #BB4F30 #30BB4F
tetradic
#4F30BB #BB3056 #9CBB30 #30BB94
square
#4F30BB #BB3056 #9CBB30 #30BB94
split-complementary
#4F30BB #BB9430 #56BB30
monochromatic
#26175A #3A238A #4F30BB #7155D3 #9A86E0

Accessibility & contrast

On white

8.49
#4F30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30BB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30BB#FFFFFF#000000##FFFFFF
##4F30BB1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#145773
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f30bb;
/* rgb */ color: rgb(79, 48, 187);
/* oklch */ color: oklch(44.1% 0.203 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c6cd1',
    500: '#4f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f30bb;
$custom-light: #8c6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30bb",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 253.381,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.20276,
    "h": 284.7
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#4F30BB
secondary
#B8C97D
accent
#E245BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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