#4F306F#4F306F

#4F306F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.8% C 0.107 H 304.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4F306F
RGBrgb(79, 48, 111)
HSLhsl(270, 40%, 31%)
HSVhsv(270, 57%, 44%)
CMYKcmyk(28.8%, 56.8%, 0%, 56.5%)
CIE-LABlab(26.52, 27.81, -31.37)
CIE-LCHlch(26.52, 41.92, 311.56°)
OKLaboklab(37.82% 0.0607 -0.0883)
OKLCHoklch(37.82% 0.107 304.5)
XYZxyz(7.1500, 4.9239, 15.6096)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F306F #506F30
analogous
#30306F #4F306F #6E306F
triadic
#4F306F #6F4F30 #306F4F
tetradic
#4F306F #6F3030 #506F30 #306F6E
square
#4F306F #6F3030 #506F30 #306F6E
split-complementary
#4F306F #6F6E30 #306F30
monochromatic
#120B1A #311E44 #4F306F #6D429A #8C5FBA

Accessibility & contrast

On white

10.58
#4F306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F306F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F306F#FFFFFF#000000##FFFFFF
##4F306F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#243F6D
Tritanopia (blue-blind)
#493C4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f306f;
/* rgb */ color: rgb(79, 48, 111);
/* oklch */ color: oklch(37.8% 0.107 304.5);
Tailwind
colors: {
  custom: {
    50: '#826999',
    500: '#4f306f',
    950: '#000000',
  },
}
SCSS
$custom: #4f306f;
$custom-light: #826999;
$custom-dark: #000000;
JSON
{
  "hex": "#4f306f",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 269.524,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37818,
    "c": 0.10717,
    "h": 304.5
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#4F306F
secondary
#7EA05B
accent
#D05895
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F306F

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

Preview Lab → · Contrast checker → · Palette generator →

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