#4F209C#4F209C

#4F209C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.183 H 293.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4F209C
RGBrgb(79, 32, 156)
HSLhsl(263, 66%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(49.4%, 79.5%, 0%, 38.8%)
CIE-LABlab(27.00, 48.61, -58.71)
CIE-LCHlch(27.00, 76.22, 309.63°)
OKLaboklab(39.28% 0.072 -0.1685)
OKLCHoklch(39.28% 0.183 293.1)
XYZxyz(9.7400, 5.0953, 31.9163)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F209C #6D9C20
analogous
#202F9C #4F209C #8D209C
triadic
#4F209C #9C4F20 #209C4F
tetradic
#4F209C #9C202F #6D9C20 #209C8D
square
#4F209C #9C202F #6D9C20 #209C8D
split-complementary
#4F209C #9C8D20 #2F9C20
monochromatic
#1C0B36 #351669 #4F209C #692ACF #8B59DD

Accessibility & contrast

On white

10.40
#4F209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F209C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F209C#FFFFFF#000000##FFFFFF
##4F209C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#37435E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f209c;
/* rgb */ color: rgb(79, 32, 156);
/* oklch */ color: oklch(39.3% 0.183 293.1);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#4f209c',
    950: '#000000',
  },
}
SCSS
$custom: #4f209c;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f209c",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 262.742,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.18328,
    "h": 293.1
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#4F209C
secondary
#99C157
accent
#E93FA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F209C

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

Preview Lab → · Contrast checker → · Palette generator →

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