#4F2689#4F2689

#4F2689 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.155 H 297.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4F2689
RGBrgb(79, 38, 137)
HSLhsl(265, 57%, 34%)
HSVhsv(265, 72%, 54%)
CMYKcmyk(42.3%, 72.3%, 0%, 46.3%)
CIE-LABlab(26.32, 40.60, -48.11)
CIE-LCHlch(26.32, 62.95, 310.16°)
OKLaboklab(38.28% 0.0715 -0.1375)
OKLCHoklch(38.28% 0.155 297.5)
XYZxyz(8.4318, 4.8545, 24.1548)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2689 #608926
analogous
#262F89 #4F2689 #802689
triadic
#4F2689 #894F26 #26894F
tetradic
#4F2689 #89262F #608926 #268980
square
#4F2689 #89262F #608926 #268980
split-complementary
#4F2689 #898026 #2F8926
monochromatic
#180B29 #331959 #4F2689 #6B33B9 #8A59D1

Accessibility & contrast

On white

10.65
#4F2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2689
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2689#FFFFFF#000000##FFFFFF
##4F26891.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#403E55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2689;
/* rgb */ color: rgb(79, 38, 137);
/* oklch */ color: oklch(38.3% 0.155 297.5);
Tailwind
colors: {
  custom: {
    50: '#8664ac',
    500: '#4f2689',
    950: '#000000',
  },
}
SCSS
$custom: #4f2689;
$custom-light: #8664ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2689",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 264.848,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.15493,
    "h": 297.5
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#4F2689
secondary
#8EB655
accent
#E048A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2689

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

Preview Lab → · Contrast checker → · Palette generator →

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