#4F2CB0#4F2CB0

#4F2CB0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.194 H 287.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4F2CB0
RGBrgb(79, 44, 176)
HSLhsl(256, 60%, 43%)
HSVhsv(256, 75%, 69%)
CMYKcmyk(55.1%, 75%, 0%, 31%)
CIE-LABlab(30.87, 48.51, -64.44)
CIE-LCHlch(30.87, 80.66, 306.97°)
OKLaboklab(42.57% 0.0571 -0.1854)
OKLCHoklch(42.57% 0.194 287.1)
XYZxyz(11.9593, 6.5976, 41.7092)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CB0 #8DB02C
analogous
#2C4BB0 #4F2CB0 #912CB0
triadic
#4F2CB0 #B04F2C #2CB04F
tetradic
#4F2CB0 #B02C4B #8DB02C #2CB091
square
#4F2CB0 #B02C4B #8DB02C #2CB091
split-complementary
#4F2CB0 #B0912C #4BB02C
monochromatic
#23144E #39207F #4F2CB0 #6C48D1 #9479DD

Accessibility & contrast

On white

9.05
#4F2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CB0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CB0#FFFFFF#000000##FFFFFF
##4F2CB01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#25516C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2cb0;
/* rgb */ color: rgb(79, 44, 176);
/* oklch */ color: oklch(42.6% 0.194 287.1);
Tailwind
colors: {
  custom: {
    50: '#8b69c9',
    500: '#4f2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cb0;
$custom-light: #8b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cb0",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 255.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.19399,
    "h": 287.1
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#4F2CB0
secondary
#AFC672
accent
#E345B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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