#4F2F88#4F2F88

#4F2F88 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.142 H 295.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4F2F88
RGBrgb(79, 47, 136)
HSLhsl(262, 49%, 36%)
HSVhsv(262, 65%, 53%)
CMYKcmyk(41.9%, 65.4%, 0%, 46.7%)
CIE-LABlab(28.04, 35.36, -44.69)
CIE-LCHlch(28.04, 56.99, 308.35°)
OKLaboklab(39.49% 0.0615 -0.1274)
OKLCHoklch(39.49% 0.142 295.8)
XYZxyz(8.6837, 5.4727, 23.8866)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F88 #68882F
analogous
#2F3B88 #4F2F88 #7B2F88
triadic
#4F2F88 #884F2F #2F884F
tetradic
#4F2F88 #882F3B #68882F #2F887B
square
#4F2F88 #882F3B #68882F #2F887B
split-complementary
#4F2F88 #887B2F #3B882F
monochromatic
#1A102D #351F5B #4F2F88 #693FB5 #8B67CA

Accessibility & contrast

On white

10.03
#4F2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F2F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F88
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F88#FFFFFF#000000##FFFFFF
##4F2F881.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#404357
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2f88;
/* rgb */ color: rgb(79, 47, 136);
/* oklch */ color: oklch(39.5% 0.142 295.8);
Tailwind
colors: {
  custom: {
    50: '#8569ab',
    500: '#4f2f88',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f88;
$custom-light: #8569ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f88",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 261.573,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.14151,
    "h": 295.8
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#4F2F88
secondary
#95B161
accent
#D850A7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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