#4F3285#4F3285

#4F3285 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.133 H 295.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4F3285
RGBrgb(79, 50, 133)
HSLhsl(261, 45%, 36%)
HSVhsv(261, 62%, 52%)
CMYKcmyk(40.6%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.48, 32.74, -42.12)
CIE-LCHlch(28.48, 53.34, 307.86°)
OKLaboklab(39.74% 0.0581 -0.1199)
OKLCHoklch(39.74% 0.133 295.8)
XYZxyz(8.5976, 5.6368, 22.8208)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3285 #688532
analogous
#323E85 #4F3285 #783285
triadic
#4F3285 #854F32 #32854F
tetradic
#4F3285 #85323E #688532 #328578
square
#4F3285 #85323E #688532 #328578
split-complementary
#4F3285 #857832 #3E8532
monochromatic
#1A112C #352159 #4F3285 #6943B1 #8B6AC7

Accessibility & contrast

On white

9.87
#4F3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3285
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3285#FFFFFF#000000##FFFFFF
##4F32851.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#094283
Tritanopia (blue-blind)
#424456
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f3285;
/* rgb */ color: rgb(79, 50, 133);
/* oklch */ color: oklch(39.7% 0.133 295.8);
Tailwind
colors: {
  custom: {
    50: '#846ba9',
    500: '#4f3285',
    950: '#000000',
  },
}
SCSS
$custom: #4f3285;
$custom-light: #846ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3285",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 260.964,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.1332,
    "h": 295.8
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#4F3285
secondary
#95AF64
accent
#D553A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F3285

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

Preview Lab → · Contrast checker → · Palette generator →

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