#4F34BC#4F34BC

#4F34BC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.200 H 283.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4F34BC
RGBrgb(79, 52, 188)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 72%, 74%)
CMYKcmyk(58%, 72.3%, 0%, 26.3%)
CIE-LABlab(33.45, 47.89, -67.32)
CIE-LCHlch(33.45, 82.62, 305.43°)
OKLaboklab(44.73% 0.0481 -0.1939)
OKLCHoklch(44.73% 0.2 283.9)
XYZxyz(13.5268, 7.7482, 48.3500)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34BC #A1BC34
analogous
#345DBC #4F34BC #9334BC
triadic
#4F34BC #BC4F34 #34BC4F
tetradic
#4F34BC #BC345D #A1BC34 #34BC93
square
#4F34BC #BC345D #A1BC34 #34BC93
split-complementary
#4F34BC #BC9334 #5DBC34
monochromatic
#27195C #3B278C #4F34BC #735BD2 #9C8BDF

Accessibility & contrast

On white

8.24
#4F34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34BC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34BC#FFFFFF#000000##FFFFFF
##4F34BC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#115975
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f34bc;
/* rgb */ color: rgb(79, 52, 188);
/* oklch */ color: oklch(44.7% 0.200 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c6ed1',
    500: '#4f34bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f34bc;
$custom-light: #8c6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34bc",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 251.912,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.19977,
    "h": 283.9
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#4F34BC
secondary
#BBC983
accent
#E048C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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