#4F3A67#4F3A67

#4F3A67 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.2% C 0.078 H 304.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4F3A67
RGBrgb(79, 58, 103)
HSLhsl(268, 28%, 32%)
HSVhsv(268, 44%, 40%)
CMYKcmyk(23.3%, 43.7%, 0%, 59.6%)
CIE-LABlab(28.56, 19.35, -23.01)
CIE-LCHlch(28.56, 30.07, 310.06°)
OKLaboklab(39.19% 0.0441 -0.064)
OKLCHoklch(39.19% 0.078 304.6)
XYZxyz(7.1852, 5.6677, 13.5448)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3A67 #52673A
analogous
#3A3C67 #4F3A67 #663A67
triadic
#4F3A67 #674F3A #3A674F
tetradic
#4F3A67 #673A3C #52673A #3A6766
square
#4F3A67 #673A3C #52673A #3A6766
split-complementary
#4F3A67 #67663A #3C673A
monochromatic
#130E19 #312440 #4F3A67 #6D508E #8C6EAD

Accessibility & contrast

On white

9.84
#4F3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3A67
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3A67#FFFFFF#000000##FFFFFF
##4F3A671.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4369
Deuteranopia (green-blind)
#344366
Tritanopia (blue-blind)
#4B414B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f3a67;
/* rgb */ color: rgb(79, 58, 103);
/* oklch */ color: oklch(39.2% 0.078 304.6);
Tailwind
colors: {
  custom: {
    50: '#817092',
    500: '#4f3a67',
    950: '#000000',
  },
}
SCSS
$custom: #4f3a67;
$custom-light: #817092;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3a67",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 268,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.07776,
    "h": 304.6
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#4F3A67
secondary
#809766
accent
#C46497
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4F3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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