#4F2BAF#4F2BAF

#4F2BAF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.194 H 287.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4F2BAF
RGBrgb(79, 43, 175)
HSLhsl(256, 61%, 43%)
HSVhsv(256, 75%, 69%)
CMYKcmyk(54.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(30.60, 48.72, -64.28)
CIE-LCHlch(30.60, 80.66, 307.16°)
OKLaboklab(42.35% 0.0581 -0.1849)
OKLCHoklch(42.35% 0.194 287.5)
XYZxyz(11.8239, 6.4845, 41.1777)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BAF #8BAF2B
analogous
#2B49AF #4F2BAF #912BAF
triadic
#4F2BAF #AF4F2B #2BAF4F
tetradic
#4F2BAF #AF2B49 #8BAF2B #2BAF91
square
#4F2BAF #AF2B49 #8BAF2B #2BAF91
split-complementary
#4F2BAF #AF912B #49AF2B
monochromatic
#23134D #391F7E #4F2BAF #6C46D1 #9377DE

Accessibility & contrast

On white

9.14
#4F2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BAF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BAF#FFFFFF#000000##FFFFFF
##4F2BAF1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#26506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f2baf;
/* rgb */ color: rgb(79, 43, 175);
/* oklch */ color: oklch(42.4% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#8b68c8',
    500: '#4f2baf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2baf;
$custom-light: #8b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2baf",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 256.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.19385,
    "h": 287.5
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#4F2BAF
secondary
#AEC570
accent
#E444B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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