#4F3385#4F3385

#4F3385 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.132 H 295.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4F3385
RGBrgb(79, 51, 133)
HSLhsl(260, 45%, 36%)
HSVhsv(260, 62%, 52%)
CMYKcmyk(40.6%, 61.7%, 0%, 47.8%)
CIE-LABlab(28.70, 32.14, -41.75)
CIE-LCHlch(28.70, 52.69, 307.59°)
OKLaboklab(39.9% 0.0568 -0.1188)
OKLCHoklch(39.9% 0.132 295.6)
XYZxyz(8.6408, 5.7232, 22.8352)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3385 #698533
analogous
#334085 #4F3385 #783385
triadic
#4F3385 #854F33 #33854F
tetradic
#4F3385 #853340 #698533 #338578
square
#4F3385 #853340 #698533 #338578
split-complementary
#4F3385 #857833 #408533
monochromatic
#1A112D #352259 #4F3385 #6944B1 #8B6CC7

Accessibility & contrast

On white

9.79
#4F3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3385
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3385#FFFFFF#000000##FFFFFF
##4F33851.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#0C4283
Tritanopia (blue-blind)
#424557
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f3385;
/* rgb */ color: rgb(79, 51, 133);
/* oklch */ color: oklch(39.9% 0.132 295.6);
Tailwind
colors: {
  custom: {
    50: '#846ca9',
    500: '#4f3385',
    950: '#000000',
  },
}
SCSS
$custom: #4f3385;
$custom-light: #846ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3385",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 260.488,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.13168,
    "h": 295.6
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#4F3385
secondary
#95AE65
accent
#D454A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F3385

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

Preview Lab → · Contrast checker → · Palette generator →

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