#4F34BE#4F34BE

#4F34BE is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.202 H 283.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4F34BE
RGBrgb(79, 52, 190)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 73%, 75%)
CMYKcmyk(58.4%, 72.6%, 0%, 25.5%)
CIE-LABlab(33.64, 48.48, -68.20)
CIE-LCHlch(33.64, 83.67, 305.41°)
OKLaboklab(44.92% 0.0477 -0.1965)
OKLCHoklch(44.92% 0.202 283.7)
XYZxyz(13.7438, 7.8351, 49.4933)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34BE #A3BE34
analogous
#345EBE #4F34BE #9434BE
triadic
#4F34BE #BE4F34 #34BE4F
tetradic
#4F34BE #BE345E #A3BE34 #34BE94
square
#4F34BE #BE345E #A3BE34 #34BE94
split-complementary
#4F34BE #BE9434 #5EBE34
monochromatic
#271A5E #3B278E #4F34BE #745DD3 #9D8DE0

Accessibility & contrast

On white

8.18
#4F34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34BE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34BE#FFFFFF#000000##FFFFFF
##4F34BE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#0B5A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f34be;
/* rgb */ color: rgb(79, 52, 190);
/* oklch */ color: oklch(44.9% 0.202 283.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ed3',
    500: '#4f34be',
    950: '#000000',
  },
}
SCSS
$custom: #4f34be;
$custom-light: #8d6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34be",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 251.739,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.20216,
    "h": 283.7
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#4F34BE
secondary
#BCCA84
accent
#E048C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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