#4F1895#4F1895

#4F1895 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.183 H 296.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4F1895
RGBrgb(79, 24, 149)
HSLhsl(266, 72%, 34%)
HSVhsv(266, 84%, 58%)
CMYKcmyk(47%, 83.9%, 0%, 41.6%)
CIE-LABlab(25.21, 50.03, -57.35)
CIE-LCHlch(25.21, 76.11, 311.10°)
OKLaboklab(37.84% 0.0801 -0.1645)
OKLCHoklch(37.84% 0.183 296)
XYZxyz(8.9744, 4.4852, 28.8208)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1895 #5E9518
analogous
#182095 #4F1895 #8E1895
triadic
#4F1895 #954F18 #18954F
tetradic
#4F1895 #951820 #5E9518 #18958E
square
#4F1895 #951820 #5E9518 #18958E
split-complementary
#4F1895 #958E18 #209518
monochromatic
#17072C #331060 #4F1895 #6B20CA #8A46E1

Accessibility & contrast

On white

11.07
#4F1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1895
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1895#FFFFFF#000000##FFFFFF
##4F18951.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#3B3D58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f1895;
/* rgb */ color: rgb(79, 24, 149);
/* oklch */ color: oklch(37.8% 0.183 296.0);
Tailwind
colors: {
  custom: {
    50: '#885eb5',
    500: '#4f1895',
    950: '#000000',
  },
}
SCSS
$custom: #4f1895;
$custom-light: #885eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1895",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 266.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.18296,
    "h": 296
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#4F1895
secondary
#8CC246
accent
#EF399F
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1895

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

Preview Lab → · Contrast checker → · Palette generator →

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