#4F286D#4F286D

#4F286D is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.4% C 0.118 H 307.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4F286D
RGBrgb(79, 40, 109)
HSLhsl(274, 46%, 29%)
HSVhsv(274, 63%, 43%)
CMYKcmyk(27.5%, 63.3%, 0%, 57.3%)
CIE-LABlab(24.59, 32.03, -33.17)
CIE-LCHlch(24.59, 46.11, 314.00°)
OKLaboklab(36.36% 0.0721 -0.0936)
OKLCHoklch(36.36% 0.118 307.6)
XYZxyz(6.7430, 4.2841, 14.9367)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F286D #466D28
analogous
#2D286D #4F286D #6D2869
triadic
#4F286D #6D4F28 #286D4F
tetradic
#4F286D #6D2D28 #466D28 #28696D
square
#4F286D #6D2D28 #466D28 #28696D
split-complementary
#4F286D #696D28 #286D2D
monochromatic
#100816 #2F1840 #4F286D #6F389A #8F50BF

Accessibility & contrast

On white

11.31
#4F286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4F286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F286D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F286D#FFFFFF#000000##FFFFFF
##4F286D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A396F
Deuteranopia (green-blind)
#1D3B6B
Tritanopia (blue-blind)
#4A3546
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f286d;
/* rgb */ color: rgb(79, 40, 109);
/* oklch */ color: oklch(36.4% 0.118 307.6);
Tailwind
colors: {
  custom: {
    50: '#836497',
    500: '#4f286d',
    950: '#000000',
  },
}
SCSS
$custom: #4f286d;
$custom-light: #836497;
$custom-dark: #000000;
JSON
{
  "hex": "#4f286d",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 273.913,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.11809,
    "h": 307.6
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#4F286D
secondary
#739F51
accent
#D6528B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #4F286D

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

Preview Lab → · Contrast checker → · Palette generator →

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