#4F2085#4F2085

#4F2085 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.158 H 299.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4F2085
RGBrgb(79, 32, 133)
HSLhsl(268, 61%, 32%)
HSVhsv(268, 76%, 52%)
CMYKcmyk(40.6%, 75.9%, 0%, 47.8%)
CIE-LABlab(24.92, 42.51, -47.89)
CIE-LCHlch(24.92, 64.04, 311.60°)
OKLaboklab(37.18% 0.0784 -0.1368)
OKLCHoklch(37.18% 0.158 299.8)
XYZxyz(7.9735, 4.3887, 22.6128)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2085 #568520
analogous
#202385 #4F2085 #822085
triadic
#4F2085 #854F20 #20854F
tetradic
#4F2085 #852023 #568520 #208582
square
#4F2085 #852023 #568520 #208582
split-complementary
#4F2085 #858220 #238520
monochromatic
#140822 #321454 #4F2085 #6C2CB6 #8B4CD4

Accessibility & contrast

On white

11.18
#4F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2085
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2085#FFFFFF#000000##FFFFFF
##4F20851.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#423A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2085;
/* rgb */ color: rgb(79, 32, 133);
/* oklch */ color: oklch(37.2% 0.158 299.8);
Tailwind
colors: {
  custom: {
    50: '#8660a9',
    500: '#4f2085',
    950: '#000000',
  },
}
SCSS
$custom: #4f2085;
$custom-light: #8660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2085",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 267.921,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.15765,
    "h": 299.8
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#4F2085
secondary
#84B74A
accent
#E44399
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2085

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

Preview Lab → · Contrast checker → · Palette generator →

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