#4F249E#4F249E

#4F249E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.182 H 292.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4F249E
RGBrgb(79, 36, 158)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50%, 77.2%, 0%, 38%)
CIE-LABlab(27.82, 47.34, -58.58)
CIE-LCHlch(27.82, 75.32, 308.94°)
OKLaboklab(39.92% 0.0683 -0.1682)
OKLCHoklch(39.92% 0.182 292.1)
XYZxyz(10.0251, 5.3923, 32.8537)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249E #739E24
analogous
#24369E #4F249E #8C249E
triadic
#4F249E #9E4F24 #249E4F
tetradic
#4F249E #9E2436 #739E24 #249E8C
square
#4F249E #9E2436 #739E24 #249E8C
split-complementary
#4F249E #9E8C24 #369E24
monochromatic
#1D0D3A #36196C #4F249E #682FD0 #8C61DB

Accessibility & contrast

On white

10.10
#4F249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249E#FFFFFF#000000##FFFFFF
##4F249E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#354660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f249e;
/* rgb */ color: rgb(79, 36, 158);
/* oklch */ color: oklch(39.9% 0.182 292.1);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#4f249e',
    950: '#000000',
  },
}
SCSS
$custom: #4f249e;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249e",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 261.148,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39915,
    "c": 0.18152,
    "h": 292.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#4F249E
secondary
#9DC05E
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249E

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

Preview Lab → · Contrast checker → · Palette generator →

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