#4F2F66#4F2F66

#4F2F66 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.097 H 309.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4F2F66
RGBrgb(79, 47, 102)
HSLhsl(275, 37%, 29%)
HSVhsv(275, 54%, 40%)
CMYKcmyk(22.5%, 53.9%, 0%, 60%)
CIE-LABlab(25.73, 26.05, -26.83)
CIE-LCHlch(25.73, 37.40, 314.16°)
OKLaboklab(37.06% 0.0614 -0.0751)
OKLCHoklch(37.06% 0.097 309.3)
XYZxyz(6.6388, 4.6547, 13.1165)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F66 #46662F
analogous
#342F66 #4F2F66 #662F62
triadic
#4F2F66 #664F2F #2F664F
tetradic
#4F2F66 #66342F #46662F #2F6266
square
#4F2F66 #66342F #46662F #2F6266
split-complementary
#4F2F66 #62662F #2F6634
monochromatic
#100A15 #2F1C3C #4F2F66 #6F4290 #8F5CB4

Accessibility & contrast

On white

10.88
#4F2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4F2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F66
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F66#FFFFFF#000000##FFFFFF
##4F2F661.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#2A3D65
Tritanopia (blue-blind)
#4C3846
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2f66;
/* rgb */ color: rgb(79, 47, 102);
/* oklch */ color: oklch(37.1% 0.097 309.3);
Tailwind
colors: {
  custom: {
    50: '#826892',
    500: '#4f2f66',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f66;
$custom-light: #826892;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f66",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 274.909,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37055,
    "c": 0.097,
    "h": 309.3
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#4F2F66
secondary
#739859
accent
#CD5B8B
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4F2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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