#4F305F#4F305F

#4F305F is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.8% C 0.086 H 313.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#4F305F
RGBrgb(79, 48, 95)
HSLhsl(280, 33%, 28%)
HSVhsv(280, 49%, 37%)
CMYKcmyk(16.8%, 49.5%, 0%, 62.7%)
CIE-LABlab(25.57, 23.66, -22.53)
CIE-LCHlch(25.57, 32.67, 316.41°)
OKLaboklab(36.81% 0.0588 -0.0626)
OKLCHoklch(36.81% 0.086 313.2)
XYZxyz(6.3466, 4.6025, 11.3783)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F305F #405F30
analogous
#37305F #4F305F #5F3057
triadic
#4F305F #5F4F30 #305F4F
tetradic
#4F305F #5F3730 #405F30 #30575F
square
#4F305F #5F3730 #405F30 #30575F
split-complementary
#4F305F #575F30 #305F37
monochromatic
#110A14 #2D1B36 #4F305F #714588 #925DAD

Accessibility & contrast

On white

10.94
#4F305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4F305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F305F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F305F#FFFFFF#000000##FFFFFF
##4F305F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#2F3D5E
Tritanopia (blue-blind)
#4E3743
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f305f;
/* rgb */ color: rgb(79, 48, 95);
/* oklch */ color: oklch(36.8% 0.086 313.2);
Tailwind
colors: {
  custom: {
    50: '#81698c',
    500: '#4f305f',
    950: '#000000',
  },
}
SCSS
$custom: #4f305f;
$custom-light: #81698c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f305f",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 279.574,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.0859,
    "h": 313.2
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#4F305F
secondary
#6D905A
accent
#C95F83
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4F305F

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

Preview Lab → · Contrast checker → · Palette generator →

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