#4F2C88#4F2C88

#4F2C88 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.146 H 296.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4F2C88
RGBrgb(79, 44, 136)
HSLhsl(263, 51%, 35%)
HSVhsv(263, 68%, 53%)
CMYKcmyk(41.9%, 67.6%, 0%, 46.7%)
CIE-LABlab(27.41, 37.07, -45.71)
CIE-LCHlch(27.41, 58.86, 309.04°)
OKLaboklab(39.04% 0.065 -0.1304)
OKLCHoklch(39.04% 0.146 296.5)
XYZxyz(8.5679, 5.2410, 23.8480)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C88 #65882C
analogous
#2C3788 #4F2C88 #7D2C88
triadic
#4F2C88 #884F2C #2C884F
tetradic
#4F2C88 #882C37 #65882C #2C887D
square
#4F2C88 #882C37 #65882C #2C887D
split-complementary
#4F2C88 #887D2C #37882C
monochromatic
#190E2C #341D5A #4F2C88 #6A3BB6 #8B62CC

Accessibility & contrast

On white

10.25
#4F2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C88
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C88#FFFFFF#000000##FFFFFF
##4F2C881.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#414156
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2c88;
/* rgb */ color: rgb(79, 44, 136);
/* oklch */ color: oklch(39.0% 0.146 296.5);
Tailwind
colors: {
  custom: {
    50: '#8567ab',
    500: '#4f2c88',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c88;
$custom-light: #8567ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c88",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 262.826,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.14575,
    "h": 296.5
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#4F2C88
secondary
#92B35D
accent
#DB4DA5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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