#4F39B2#4F39B2

#4F39B2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.182 H 284.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4F39B2
RGBrgb(79, 57, 178)
HSLhsl(251, 51%, 46%)
HSVhsv(251, 68%, 70%)
CMYKcmyk(55.6%, 68%, 0%, 30.2%)
CIE-LABlab(33.57, 42.11, -61.21)
CIE-LCHlch(33.57, 74.30, 304.52°)
OKLaboklab(44.54% 0.0458 -0.176)
OKLCHoklch(44.54% 0.182 284.6)
XYZxyz(12.7210, 7.8021, 42.9465)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39B2 #9CB239
analogous
#395FB2 #4F39B2 #8B39B2
triadic
#4F39B2 #B24F39 #39B24F
tetradic
#4F39B2 #B2395F #9CB239 #39B28B
square
#4F39B2 #B2395F #9CB239 #39B28B
split-complementary
#4F39B2 #B28B39 #5FB239
monochromatic
#261B55 #3A2A84 #4F39B2 #715DCB #9A8BDA

Accessibility & contrast

On white

8.20
#4F39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39B2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39B2#FFFFFF#000000##FFFFFF
##4F39B21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#215871
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f39b2;
/* rgb */ color: rgb(79, 57, 178);
/* oklch */ color: oklch(44.5% 0.182 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a71ca',
    500: '#4f39b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f39b2;
$custom-light: #8a71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39b2",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 250.909,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.18186,
    "h": 284.6
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#4F39B2
secondary
#B8C482
accent
#DB4DC1
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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