#4F2095#4F2095

#4F2095 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.176 H 295.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4F2095
RGBrgb(79, 32, 149)
HSLhsl(264, 65%, 35%)
HSVhsv(264, 79%, 58%)
CMYKcmyk(47%, 78.5%, 0%, 41.6%)
CIE-LABlab(26.35, 46.75, -55.50)
CIE-LCHlch(26.35, 72.56, 310.11°)
OKLaboklab(38.63% 0.0741 -0.1591)
OKLCHoklch(38.63% 0.176 295)
XYZxyz(9.1643, 4.8650, 28.8841)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2095 #669520
analogous
#202B95 #4F2095 #8A2095
triadic
#4F2095 #954F20 #20954F
tetradic
#4F2095 #95202B #669520 #20958A
square
#4F2095 #95202B #669520 #20958A
split-complementary
#4F2095 #958A20 #2B9520
monochromatic
#1A0A30 #341563 #4F2095 #6A2BC7 #8B55DA

Accessibility & contrast

On white

10.64
#4F2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2095
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2095#FFFFFF#000000##FFFFFF
##4F20951.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3B405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2095;
/* rgb */ color: rgb(79, 32, 149);
/* oklch */ color: oklch(38.6% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#8861b5',
    500: '#4f2095',
    950: '#000000',
  },
}
SCSS
$custom: #4f2095;
$custom-light: #8861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2095",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 264.103,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.17554,
    "h": 295
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#4F2095
secondary
#93BE53
accent
#E840A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F2095

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

Preview Lab → · Contrast checker → · Palette generator →

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