#4F2A67#4F2A67

#4F2A67 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.3% C 0.107 H 310.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4F2A67
RGBrgb(79, 42, 103)
HSLhsl(276, 42%, 28%)
HSVhsv(276, 59%, 40%)
CMYKcmyk(23.3%, 59.2%, 0%, 59.6%)
CIE-LABlab(24.63, 29.33, -29.22)
CIE-LCHlch(24.63, 41.40, 315.11°)
OKLaboklab(36.27% 0.0691 -0.082)
OKLCHoklch(36.27% 0.107 310.1)
XYZxyz(6.5001, 4.2976, 13.3164)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A67 #42672A
analogous
#302A67 #4F2A67 #672A60
triadic
#4F2A67 #674F2A #2A674F
tetradic
#4F2A67 #67302A #42672A #2A6067
square
#4F2A67 #67302A #42672A #2A6067
split-complementary
#4F2A67 #60672A #2A6730
monochromatic
#110916 #2E183C #4F2A67 #703C92 #9153B9

Accessibility & contrast

On white

11.29
#4F2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2A67
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A67#FFFFFF#000000##FFFFFF
##4F2A671.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#4C3544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2a67;
/* rgb */ color: rgb(79, 42, 103);
/* oklch */ color: oklch(36.3% 0.107 310.1);
Tailwind
colors: {
  custom: {
    50: '#826593',
    500: '#4f2a67',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a67;
$custom-light: #826593;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a67",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 276.393,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36267,
    "c": 0.10723,
    "h": 310.1
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#4F2A67
secondary
#6F9954
accent
#D25687
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4F2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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