#4F3288#4F3288

#4F3288 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.137 H 295.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4F3288
RGBrgb(79, 50, 136)
HSLhsl(260, 46%, 36%)
HSVhsv(260, 63%, 53%)
CMYKcmyk(41.9%, 63.2%, 0%, 46.7%)
CIE-LABlab(28.70, 33.60, -43.63)
CIE-LCHlch(28.70, 55.07, 307.60°)
OKLaboklab(39.97% 0.0579 -0.1243)
OKLCHoklch(39.97% 0.137 295)
XYZxyz(8.8078, 5.7208, 23.9280)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3288 #6B8832
analogous
#324088 #4F3288 #7A3288
triadic
#4F3288 #884F32 #32884F
tetradic
#4F3288 #883240 #6B8832 #32887A
square
#4F3288 #883240 #6B8832 #32887A
split-complementary
#4F3288 #887A32 #408832
monochromatic
#1B112F #35225B #4F3288 #6942B5 #8B6CC9

Accessibility & contrast

On white

9.79
#4F3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3288
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3288#FFFFFF#000000##FFFFFF
##4F32881.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#404558
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f3288;
/* rgb */ color: rgb(79, 50, 136);
/* oklch */ color: oklch(40.0% 0.137 295.0);
Tailwind
colors: {
  custom: {
    50: '#856bab',
    500: '#4f3288',
    950: '#000000',
  },
}
SCSS
$custom: #4f3288;
$custom-light: #856bab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3288",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 260.233,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39967,
    "c": 0.13714,
    "h": 295
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#4F3288
secondary
#97B065
accent
#D652A9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F3288

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

Preview Lab → · Contrast checker → · Palette generator →

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