#4F30BC#4F30BC

#4F30BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.204 H 284.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4F30BC
RGBrgb(79, 48, 188)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 74%)
CMYKcmyk(58%, 74.5%, 0%, 26.3%)
CIE-LABlab(32.71, 49.97, -68.53)
CIE-LCHlch(32.71, 84.82, 306.10°)
OKLaboklab(44.21% 0.0511 -0.1974)
OKLCHoklch(44.21% 0.204 284.5)
XYZxyz(13.3557, 7.4062, 48.2930)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30BC #9DBC30
analogous
#3057BC #4F30BC #9530BC
triadic
#4F30BC #BC4F30 #30BC4F
tetradic
#4F30BC #BC3057 #9DBC30 #30BC95
square
#4F30BC #BC3057 #9DBC30 #30BC95
split-complementary
#4F30BC #BC9530 #57BC30
monochromatic
#26175A #3B248B #4F30BC #7155D4 #9A86E0

Accessibility & contrast

On white

8.46
#4F30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30BC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30BC#FFFFFF#000000##FFFFFF
##4F30BC1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#125774
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f30bc;
/* rgb */ color: rgb(79, 48, 188);
/* oklch */ color: oklch(44.2% 0.204 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d6cd1',
    500: '#4f30bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f30bc;
$custom-light: #8d6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30bc",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 253.286,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.20392,
    "h": 284.5
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#4F30BC
secondary
#B9CA7E
accent
#E345C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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