#4F2695#4F2695

#4F2695 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.169 H 294.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4F2695
RGBrgb(79, 38, 149)
HSLhsl(262, 59%, 37%)
HSVhsv(262, 74%, 58%)
CMYKcmyk(47%, 74.5%, 0%, 41.6%)
CIE-LABlab(27.35, 43.90, -53.86)
CIE-LCHlch(27.35, 69.48, 309.18°)
OKLaboklab(39.33% 0.0689 -0.1543)
OKLCHoklch(39.33% 0.169 294.1)
XYZxyz(9.3409, 5.2181, 28.9430)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2695 #6C9526
analogous
#263595 #4F2695 #872695
triadic
#4F2695 #954F26 #26954F
tetradic
#4F2695 #952635 #6C9526 #269587
square
#4F2695 #952635 #6C9526 #269587
split-complementary
#4F2695 #958726 #359526
monochromatic
#1B0D33 #351A64 #4F2695 #6932C6 #8B5FD6

Accessibility & contrast

On white

10.28
#4F2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2695
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2695#FFFFFF#000000##FFFFFF
##4F26951.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#3A435B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2695;
/* rgb */ color: rgb(79, 38, 149);
/* oklch */ color: oklch(39.3% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#8764b5',
    500: '#4f2695',
    950: '#000000',
  },
}
SCSS
$custom: #4f2695;
$custom-light: #8764b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2695",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 262.162,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.16901,
    "h": 294.1
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#4F2695
secondary
#98BB5B
accent
#E345A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2695

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

Preview Lab → · Contrast checker → · Palette generator →

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