#4F3AB2#4F3AB2

#4F3AB2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.181 H 284.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4F3AB2
RGBrgb(79, 58, 178)
HSLhsl(251, 51%, 46%)
HSVhsv(251, 67%, 70%)
CMYKcmyk(55.6%, 67.4%, 0%, 30.2%)
CIE-LABlab(33.78, 41.53, -60.87)
CIE-LCHlch(33.78, 73.69, 304.31°)
OKLaboklab(44.69% 0.0449 -0.175)
OKLCHoklch(44.69% 0.181 284.4)
XYZxyz(12.7709, 7.9020, 42.9631)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3AB2 #9DB23A
analogous
#3A61B2 #4F3AB2 #8B3AB2
triadic
#4F3AB2 #B24F3A #3AB24F
tetradic
#4F3AB2 #B23A61 #9DB23A #3AB28B
square
#4F3AB2 #B23A61 #9DB23A #3AB28B
split-complementary
#4F3AB2 #B28B3A #61B23A
monochromatic
#261C56 #3B2B84 #4F3AB2 #715FCB #9A8DDA

Accessibility & contrast

On white

8.14
#4F3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3AB2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3AB2#FFFFFF#000000##FFFFFF
##4F3AB21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#215971
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f3ab2;
/* rgb */ color: rgb(79, 58, 178);
/* oklch */ color: oklch(44.7% 0.181 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a72ca',
    500: '#4f3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ab2;
$custom-light: #8a72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ab2",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 250.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44693,
    "c": 0.18065,
    "h": 284.4
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#4F3AB2
secondary
#B9C483
accent
#DA4DC2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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