#4F2684#4F2684

#4F2684 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.149 H 299.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4F2684
RGBrgb(79, 38, 132)
HSLhsl(266, 55%, 33%)
HSVhsv(266, 71%, 52%)
CMYKcmyk(40.2%, 71.2%, 0%, 48.2%)
CIE-LABlab(25.90, 39.24, -45.66)
CIE-LCHlch(25.90, 60.20, 310.68°)
OKLaboklab(37.86% 0.0724 -0.1302)
OKLCHoklch(37.86% 0.149 299.1)
XYZxyz(8.0814, 4.7143, 22.3095)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2684 #5B8426
analogous
#262C84 #4F2684 #7E2684
triadic
#4F2684 #844F26 #26844F
tetradic
#4F2684 #84262C #5B8426 #26847E
square
#4F2684 #84262C #5B8426 #26847E
split-complementary
#4F2684 #847E26 #2C8426
monochromatic
#160B25 #331854 #4F2684 #6B34B4 #8B56CE

Accessibility & contrast

On white

10.81
#4F2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F2684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2684
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2684#FFFFFF#000000##FFFFFF
##4F26841.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#433D52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2684;
/* rgb */ color: rgb(79, 38, 132);
/* oklch */ color: oklch(37.9% 0.149 299.1);
Tailwind
colors: {
  custom: {
    50: '#8564a8',
    500: '#4f2684',
    950: '#000000',
  },
}
SCSS
$custom: #4f2684;
$custom-light: #8564a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2684",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 266.17,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.149,
    "h": 299.1
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#4F2684
secondary
#89B353
accent
#DF499D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4F2684

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

Preview Lab → · Contrast checker → · Palette generator →

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