#4F28BF#4F28BF

#4F28BF is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.215 H 285.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4F28BF
RGBrgb(79, 40, 191)
HSLhsl(255, 65%, 45%)
HSVhsv(255, 79%, 75%)
CMYKcmyk(58.6%, 79.1%, 0%, 25.1%)
CIE-LABlab(31.67, 54.65, -72.02)
CIE-LCHlch(31.67, 90.41, 307.19°)
OKLaboklab(43.57% 0.0557 -0.2075)
OKLCHoklch(43.57% 0.215 285)
XYZxyz(13.3843, 6.9406, 49.9145)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F28BF #98BF28
analogous
#284CBF #4F28BF #9B28BF
triadic
#4F28BF #BF4F28 #28BF4F
tetradic
#4F28BF #BF284C #98BF28 #28BF9B
square
#4F28BF #BF284C #98BF28 #28BF9B
split-complementary
#4F28BF #BF9B28 #4CBF28
monochromatic
#25135A #3A1D8C #4F28BF #704BD9 #987EE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F28BF#FFFFFF#000000##FFFFFF
##4F28BF1.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)
#004FC3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#0B5574
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f28bf;
/* rgb */ color: rgb(79, 40, 191);
/* oklch */ color: oklch(43.6% 0.215 285.0);
Tailwind
colors: {
  custom: {
    50: '#8e68d4',
    500: '#4f28bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f28bf;
$custom-light: #8e68d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f28bf",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 191
  },
  "hsl": {
    "h": 255.497,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.21485,
    "h": 285
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#4F28BF
secondary
#B6CC77
accent
#E83FBD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F28BF

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

Preview Lab → · Contrast checker → · Palette generator →

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