#4F2583#4F2583

#4F2583 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.149 H 299.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4F2583
RGBrgb(79, 37, 131)
HSLhsl(267, 56%, 33%)
HSVhsv(267, 72%, 51%)
CMYKcmyk(39.7%, 71.8%, 0%, 48.6%)
CIE-LABlab(25.64, 39.49, -45.47)
CIE-LCHlch(25.64, 60.22, 310.98°)
OKLaboklab(37.64% 0.0736 -0.1297)
OKLCHoklch(37.64% 0.149 299.6)
XYZxyz(7.9817, 4.6240, 21.9403)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2583 #598325
analogous
#252A83 #4F2583 #7E2583
triadic
#4F2583 #834F25 #25834F
tetradic
#4F2583 #83252A #598325 #25837E
square
#4F2583 #83252A #598325 #25837E
split-complementary
#4F2583 #837E25 #2A8325
monochromatic
#150A24 #321853 #4F2583 #6C32B3 #8B54CF

Accessibility & contrast

On white

10.91
#4F2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4F2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2583
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2583#FFFFFF#000000##FFFFFF
##4F25831.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#433C51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2583;
/* rgb */ color: rgb(79, 37, 131);
/* oklch */ color: oklch(37.6% 0.149 299.6);
Tailwind
colors: {
  custom: {
    50: '#8563a8',
    500: '#4f2583',
    950: '#000000',
  },
}
SCSS
$custom: #4f2583;
$custom-light: #8563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2583",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 266.809,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.14913,
    "h": 299.6
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#4F2583
secondary
#87B351
accent
#DF499C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4F2583

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

Preview Lab → · Contrast checker → · Palette generator →

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