#4F3CA2#4F3CA2

#4F3CA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.157 H 286.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4F3CA2
RGBrgb(79, 60, 162)
HSLhsl(251, 46%, 44%)
HSVhsv(251, 63%, 64%)
CMYKcmyk(51.2%, 63%, 0%, 36.5%)
CIE-LABlab(32.92, 35.41, -52.69)
CIE-LCHlch(32.92, 63.48, 303.91°)
OKLaboklab(43.67% 0.0446 -0.1509)
OKLCHoklch(43.67% 0.157 286.5)
XYZxyz(11.3600, 7.5021, 35.0249)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CA2 #8FA23C
analogous
#3C5CA2 #4F3CA2 #823CA2
triadic
#4F3CA2 #A24F3C #3CA24F
tetradic
#4F3CA2 #A23C5C #8FA23C #3CA282
square
#4F3CA2 #A23C5C #8FA23C #3CA282
split-complementary
#4F3CA2 #A2823C #5CA23C
monochromatic
#231B49 #392B75 #4F3CA2 #6D59C2 #9486D2

Accessibility & contrast

On white

8.40
#4F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3CA2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3CA2#FFFFFF#000000##FFFFFF
##4F3CA21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#305469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f3ca2;
/* rgb */ color: rgb(79, 60, 162);
/* oklch */ color: oklch(43.7% 0.157 286.5);
Tailwind
colors: {
  custom: {
    50: '#8873be',
    500: '#4f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ca2;
$custom-light: #8873be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ca2",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 251.176,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.1574,
    "h": 286.5
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#4F3CA2
secondary
#B1BC7D
accent
#D652BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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