#4F2FB3#4F2FB3

#4F2FB3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.194 H 286.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4F2FB3
RGBrgb(79, 47, 179)
HSLhsl(255, 58%, 44%)
HSVhsv(255, 74%, 70%)
CMYKcmyk(55.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(31.69, 47.85, -64.88)
CIE-LCHlch(31.69, 80.62, 306.41°)
OKLaboklab(43.23% 0.054 -0.1867)
OKLCHoklch(43.23% 0.194 286.1)
XYZxyz(12.3752, 6.9493, 43.3283)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FB3 #93B32F
analogous
#2F51B3 #4F2FB3 #912FB3
triadic
#4F2FB3 #B34F2F #2FB34F
tetradic
#4F2FB3 #B32F51 #93B32F #2FB391
square
#4F2FB3 #B32F51 #93B32F #2FB391
split-complementary
#4F2FB3 #B3912F #51B32F
monochromatic
#241652 #3A2283 #4F2FB3 #6E4FD1 #967FDD

Accessibility & contrast

On white

8.79
#4F2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4F2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FB3
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FB3#FFFFFF#000000##FFFFFF
##4F2FB31.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#21536E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2fb3;
/* rgb */ color: rgb(79, 47, 179);
/* oklch */ color: oklch(43.2% 0.194 286.1);
Tailwind
colors: {
  custom: {
    50: '#8b6bcb',
    500: '#4f2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fb3;
$custom-light: #8b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fb3",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 254.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.19437,
    "h": 286.1
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#4F2FB3
secondary
#B3C678
accent
#E246BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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