#4F3BB2#4F3BB2

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

Color values

HEX#4F3BB2
RGBrgb(79, 59, 178)
HSLhsl(250, 50%, 46%)
HSVhsv(250, 67%, 70%)
CMYKcmyk(55.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(33.99, 40.96, -60.52)
CIE-LCHlch(33.99, 73.08, 304.09°)
OKLaboklab(44.85% 0.044 -0.174)
OKLCHoklch(44.85% 0.179 284.2)
XYZxyz(12.8218, 8.0038, 42.9801)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3BB2 #9EB23B
analogous
#3B63B2 #4F3BB2 #8B3BB2
triadic
#4F3BB2 #B24F3B #3BB24F
tetradic
#4F3BB2 #B23B63 #9EB23B #3BB28B
square
#4F3BB2 #B23B63 #9EB23B #3BB28B
split-complementary
#4F3BB2 #B28B3B #63B23B
monochromatic
#261D56 #3B2C84 #4F3BB2 #7260CA #9B8EDA

Accessibility & contrast

On white

8.07
#4F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3BB2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3BB2#FFFFFF#000000##FFFFFF
##4F3BB21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f3bb2;
/* rgb */ color: rgb(79, 59, 178);
/* oklch */ color: oklch(44.8% 0.179 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a72ca',
    500: '#4f3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3bb2;
$custom-light: #8a72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3bb2",
  "rgb": {
    "r": 79,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 250.084,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.17944,
    "h": 284.2
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#4F3BB2
secondary
#BAC485
accent
#DA4EC2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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