#4F30BA#4F30BA

#4F30BA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.202 H 284.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4F30BA
RGBrgb(79, 48, 186)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 73%)
CMYKcmyk(57.5%, 74.2%, 0%, 27.1%)
CIE-LABlab(32.53, 49.38, -67.66)
CIE-LCHlch(32.53, 83.77, 306.12°)
OKLaboklab(44.02% 0.0516 -0.1949)
OKLCHoklch(44.02% 0.202 284.8)
XYZxyz(13.1416, 7.3205, 47.1654)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30BA #9BBA30
analogous
#3056BA #4F30BA #9430BA
triadic
#4F30BA #BA4F30 #30BA4F
tetradic
#4F30BA #BA3056 #9BBA30 #30BA94
square
#4F30BA #BA3056 #9BBA30 #30BA94
split-complementary
#4F30BA #BA9430 #56BA30
monochromatic
#261759 #3A2389 #4F30BA #7154D3 #9985DF

Accessibility & contrast

On white

8.52
#4F30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30BA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30BA#FFFFFF#000000##FFFFFF
##4F30BA1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#165673
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f30ba;
/* rgb */ color: rgb(79, 48, 186);
/* oklch */ color: oklch(44.0% 0.202 284.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cd0',
    500: '#4f30ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f30ba;
$custom-light: #8c6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30ba",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 253.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.20158,
    "h": 284.8
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#4F30BA
secondary
#B8C97D
accent
#E246BF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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