#4F3AB3#4F3AB3

#4F3AB3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.182 H 284.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4F3AB3
RGBrgb(79, 58, 179)
HSLhsl(250, 51%, 46%)
HSVhsv(250, 68%, 70%)
CMYKcmyk(55.9%, 67.6%, 0%, 29.8%)
CIE-LABlab(33.86, 41.84, -61.32)
CIE-LCHlch(33.86, 74.24, 304.31°)
OKLaboklab(44.78% 0.0447 -0.1763)
OKLCHoklch(44.78% 0.182 284.2)
XYZxyz(12.8717, 7.9423, 43.4938)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3AB3 #9EB33A
analogous
#3A62B3 #4F3AB3 #8C3AB3
triadic
#4F3AB3 #B34F3A #3AB34F
tetradic
#4F3AB3 #B33A62 #9EB33A #3AB38C
square
#4F3AB3 #B33A62 #9EB33A #3AB38C
split-complementary
#4F3AB3 #B38C3A #62B33A
monochromatic
#261C57 #3B2B85 #4F3AB3 #725FCB #9B8DDA

Accessibility & contrast

On white

8.11
#4F3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3AB3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3AB3#FFFFFF#000000##FFFFFF
##4F3AB31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#205971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3ab3;
/* rgb */ color: rgb(79, 58, 179);
/* oklch */ color: oklch(44.8% 0.182 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a72cb',
    500: '#4f3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ab3;
$custom-light: #8a72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ab3",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 250.413,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.18192,
    "h": 284.2
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#4F3AB3
secondary
#BAC584
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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