#4F3CA0#4F3CA0

#4F3CA0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.155 H 286.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4F3CA0
RGBrgb(79, 60, 160)
HSLhsl(251, 45%, 43%)
HSVhsv(251, 63%, 63%)
CMYKcmyk(50.6%, 62.5%, 0%, 37.3%)
CIE-LABlab(32.77, 34.80, -51.73)
CIE-LCHlch(32.77, 62.34, 303.93°)
OKLaboklab(43.51% 0.0448 -0.1481)
OKLCHoklch(43.51% 0.155 286.8)
XYZxyz(11.1836, 7.4315, 34.0960)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CA0 #8DA03C
analogous
#3C5BA0 #4F3CA0 #813CA0
triadic
#4F3CA0 #A04F3C #3CA04F
tetradic
#4F3CA0 #A03C5B #8DA03C #3CA081
square
#4F3CA0 #A03C5B #8DA03C #3CA081
split-complementary
#4F3CA0 #A0813C #5BA03C
monochromatic
#231B47 #392B73 #4F3CA0 #6C59C1 #9485D1

Accessibility & contrast

On white

8.45
#4F3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3CA0
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3CA0#FFFFFF#000000##FFFFFF
##4F3CA01.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#325468
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3ca0;
/* rgb */ color: rgb(79, 60, 160);
/* oklch */ color: oklch(43.5% 0.155 286.8);
Tailwind
colors: {
  custom: {
    50: '#8773bd',
    500: '#4f3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ca0;
$custom-light: #8773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ca0",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 251.4,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43509,
    "c": 0.15475,
    "h": 286.8
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#4F3CA0
secondary
#AFBB7C
accent
#D553BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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