#4F2CBB#4F2CBB

#4F2CBB is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.207 H 285.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4F2CBB
RGBrgb(79, 44, 187)
HSLhsl(255, 62%, 45%)
HSVhsv(255, 76%, 73%)
CMYKcmyk(57.8%, 76.5%, 0%, 26.7%)
CIE-LABlab(31.92, 51.66, -69.25)
CIE-LCHlch(31.92, 86.39, 306.72°)
OKLaboklab(43.62% 0.0542 -0.1995)
OKLCHoklch(43.62% 0.207 285.2)
XYZxyz(13.0920, 7.0507, 47.6751)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CBB #98BB2C
analogous
#2C51BB #4F2CBB #962CBB
triadic
#4F2CBB #BB4F2C #2CBB4F
tetradic
#4F2CBB #BB2C51 #98BB2C #2CBB96
square
#4F2CBB #BB2C51 #98BB2C #2CBB96
split-complementary
#4F2CBB #BB962C #51BB2C
monochromatic
#251558 #3A2089 #4F2CBB #704FD6 #9880E1

Accessibility & contrast

On white

8.71
#4F2CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F2CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CBB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CBB#FFFFFF#000000##FFFFFF
##4F2CBB1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#155572
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2cbb;
/* rgb */ color: rgb(79, 44, 187);
/* oklch */ color: oklch(43.6% 0.207 285.2);
Tailwind
colors: {
  custom: {
    50: '#8d6ad1',
    500: '#4f2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cbb;
$custom-light: #8d6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cbb",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 254.685,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.2067,
    "h": 285.2
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#4F2CBB
secondary
#B6CA79
accent
#E543BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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