#4F2485#4F2485

#4F2485 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.153 H 299.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4F2485
RGBrgb(79, 36, 133)
HSLhsl(267, 57%, 33%)
HSVhsv(267, 73%, 52%)
CMYKcmyk(40.6%, 72.9%, 0%, 47.8%)
CIE-LABlab(25.62, 40.54, -46.75)
CIE-LCHlch(25.62, 61.89, 310.93°)
OKLaboklab(37.68% 0.0743 -0.1335)
OKLCHoklch(37.68% 0.153 299.1)
XYZxyz(8.0879, 4.6174, 22.6509)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2485 #5A8524
analogous
#242985 #4F2485 #7F2485
triadic
#4F2485 #854F24 #24854F
tetradic
#4F2485 #852429 #5A8524 #24857F
square
#4F2485 #852429 #5A8524 #24857F
split-complementary
#4F2485 #857F24 #298524
monochromatic
#160A25 #321755 #4F2485 #6C31B5 #8B53D0

Accessibility & contrast

On white

10.92
#4F2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2485
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2485#FFFFFF#000000##FFFFFF
##4F24851.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#423C52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2485;
/* rgb */ color: rgb(79, 36, 133);
/* oklch */ color: oklch(37.7% 0.153 299.1);
Tailwind
colors: {
  custom: {
    50: '#8563a9',
    500: '#4f2485',
    950: '#000000',
  },
}
SCSS
$custom: #4f2485;
$custom-light: #8563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2485",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 266.598,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.15276,
    "h": 299.1
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#4F2485
secondary
#88B450
accent
#E1479D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2485

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

Preview Lab → · Contrast checker → · Palette generator →

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