#4F2DBF#4F2DBF

#4F2DBF is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.210 H 284.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4F2DBF
RGBrgb(79, 45, 191)
HSLhsl(254, 62%, 46%)
HSVhsv(254, 76%, 75%)
CMYKcmyk(58.6%, 76.4%, 0%, 25.1%)
CIE-LABlab(32.48, 52.32, -70.69)
CIE-LCHlch(32.48, 87.95, 306.51°)
OKLaboklab(44.13% 0.0525 -0.2037)
OKLCHoklch(44.13% 0.21 284.4)
XYZxyz(13.5639, 7.2998, 49.9744)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DBF #9DBF2D
analogous
#2D54BF #4F2DBF #982DBF
triadic
#4F2DBF #BF4F2D #2DBF4F
tetradic
#4F2DBF #BF2D54 #9DBF2D #2DBF98
square
#4F2DBF #BF2D54 #9DBF2D #2DBF98
split-complementary
#4F2DBF #BF982D #54BF2D
monochromatic
#26165C #3B218D #4F2DBF #7153D6 #9A84E2

Accessibility & contrast

On white

8.54
#4F2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DBF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DBF#FFFFFF#000000##FFFFFF
##4F2DBF1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#0A5775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2dbf;
/* rgb */ color: rgb(79, 45, 191);
/* oklch */ color: oklch(44.1% 0.210 284.4);
Tailwind
colors: {
  custom: {
    50: '#8d6ad4',
    500: '#4f2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dbf;
$custom-light: #8d6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dbf",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 253.973,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.21032,
    "h": 284.4
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#4F2DBF
secondary
#B9CB7C
accent
#E543BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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