#4F3DA2#4F3DA2

#4F3DA2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.8% C 0.156 H 286.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4F3DA2
RGBrgb(79, 61, 162)
HSLhsl(251, 45%, 44%)
HSVhsv(251, 62%, 64%)
CMYKcmyk(51.2%, 62.3%, 0%, 36.5%)
CIE-LABlab(33.15, 34.81, -52.31)
CIE-LCHlch(33.15, 62.84, 303.64°)
OKLaboklab(43.84% 0.0436 -0.1498)
OKLCHoklch(43.84% 0.156 286.2)
XYZxyz(11.4129, 7.6078, 35.0425)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3DA2 #90A23D
analogous
#3D5DA2 #4F3DA2 #813DA2
triadic
#4F3DA2 #A24F3D #3DA24F
tetradic
#4F3DA2 #A23D5D #90A23D #3DA281
square
#4F3DA2 #A23D5D #90A23D #3DA281
split-complementary
#4F3DA2 #A2813D #5DA23D
monochromatic
#241C49 #392C76 #4F3DA2 #6D5BC1 #9587D2

Accessibility & contrast

On white

8.33
#4F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3DA2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3DA2#FFFFFF#000000##FFFFFF
##4F3DA21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#305569
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f3da2;
/* rgb */ color: rgb(79, 61, 162);
/* oklch */ color: oklch(43.8% 0.156 286.2);
Tailwind
colors: {
  custom: {
    50: '#8773be',
    500: '#4f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3da2;
$custom-light: #8773be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3da2",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 250.693,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.15606,
    "h": 286.2
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#4F3DA2
secondary
#B1BC7E
accent
#D553BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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