#4F2983#4F2983

#4F2983 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.144 H 298.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4F2983
RGBrgb(79, 41, 131)
HSLhsl(265, 52%, 34%)
HSVhsv(265, 69%, 51%)
CMYKcmyk(39.7%, 68.7%, 0%, 48.6%)
CIE-LABlab(26.41, 37.35, -44.21)
CIE-LCHlch(26.41, 57.88, 310.19°)
OKLaboklab(38.19% 0.0691 -0.126)
OKLCHoklch(38.19% 0.144 298.7)
XYZxyz(8.1131, 4.8867, 21.9841)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2983 #5D8329
analogous
#293083 #4F2983 #7C2983
triadic
#4F2983 #834F29 #29834F
tetradic
#4F2983 #832930 #5D8329 #29837C
square
#4F2983 #832930 #5D8329 #29837C
split-complementary
#4F2983 #837C29 #308329
monochromatic
#170C26 #331A54 #4F2983 #6B38B2 #8A5BCC

Accessibility & contrast

On white

10.62
#4F2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2983
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2983#FFFFFF#000000##FFFFFF
##4F29831.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#433E52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2983;
/* rgb */ color: rgb(79, 41, 131);
/* oklch */ color: oklch(38.2% 0.144 298.7);
Tailwind
colors: {
  custom: {
    50: '#8565a8',
    500: '#4f2983',
    950: '#000000',
  },
}
SCSS
$custom: #4f2983;
$custom-light: #8565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2983",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 265.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38192,
    "c": 0.14373,
    "h": 298.7
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#4F2983
secondary
#8BB157
accent
#DC4C9F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2983

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

Preview Lab → · Contrast checker → · Palette generator →

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