#4F286A#4F286A

#4F286A is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.2% C 0.114 H 309.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4F286A
RGBrgb(79, 40, 106)
HSLhsl(275, 45%, 29%)
HSVhsv(275, 62%, 42%)
CMYKcmyk(25.5%, 62.3%, 0%, 58.4%)
CIE-LABlab(24.39, 31.26, -31.55)
CIE-LCHlch(24.39, 44.42, 314.74°)
OKLaboklab(36.15% 0.0721 -0.0888)
OKLCHoklch(36.15% 0.114 309.1)
XYZxyz(6.5842, 4.2206, 14.1007)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F286A #436A28
analogous
#2E286A #4F286A #6A2864
triadic
#4F286A #6A4F28 #286A4F
tetradic
#4F286A #6A2E28 #436A28 #28646A
square
#4F286A #6A2E28 #436A28 #28646A
split-complementary
#4F286A #646A28 #286A2E
monochromatic
#110816 #2E173E #4F286A #703996 #9050BD

Accessibility & contrast

On white

11.39
#4F286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F286A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F286A#FFFFFF#000000##FFFFFF
##4F286A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#203A68
Tritanopia (blue-blind)
#4B3445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f286a;
/* rgb */ color: rgb(79, 40, 106);
/* oklch */ color: oklch(36.2% 0.114 309.1);
Tailwind
colors: {
  custom: {
    50: '#836495',
    500: '#4f286a',
    950: '#000000',
  },
}
SCSS
$custom: #4f286a;
$custom-light: #836495;
$custom-dark: #000000;
JSON
{
  "hex": "#4f286a",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 275.455,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.11439,
    "h": 309.1
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#4F286A
secondary
#709D51
accent
#D55388
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4F286A

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

Preview Lab → · Contrast checker → · Palette generator →

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