#4F34AF#4F34AF

#4F34AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.184 H 286.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4F34AF
RGBrgb(79, 52, 175)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 69%)
CMYKcmyk(54.9%, 70.3%, 0%, 31.4%)
CIE-LABlab(32.29, 44.01, -61.52)
CIE-LCHlch(32.29, 75.64, 305.58°)
OKLaboklab(43.54% 0.0507 -0.1769)
OKLCHoklch(43.54% 0.184 286)
XYZxyz(12.1880, 7.2127, 41.2991)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34AF #94AF34
analogous
#3456AF #4F34AF #8D34AF
triadic
#4F34AF #AF4F34 #34AF4F
tetradic
#4F34AF #AF3456 #94AF34 #34AF8D
square
#4F34AF #AF3456 #94AF34 #34AF8D
split-complementary
#4F34AF #AF8D34 #56AF34
monochromatic
#241851 #3A2680 #4F34AF #6E54CC #9683DA

Accessibility & contrast

On white

8.60
#4F34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34AF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34AF#FFFFFF#000000##FFFFFF
##4F34AF1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#25546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f34af;
/* rgb */ color: rgb(79, 52, 175);
/* oklch */ color: oklch(43.5% 0.184 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ec8',
    500: '#4f34af',
    950: '#000000',
  },
}
SCSS
$custom: #4f34af;
$custom-light: #8a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34af",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 253.171,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.18402,
    "h": 286
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#4F34AF
secondary
#B4C47B
accent
#DE4ABD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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