#4F2E6A#4F2E6A

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

Color values

HEX#4F2E6A
RGBrgb(79, 46, 106)
HSLhsl(273, 39%, 30%)
HSVhsv(273, 57%, 42%)
CMYKcmyk(25.5%, 56.6%, 0%, 58.4%)
CIE-LABlab(25.73, 27.70, -29.41)
CIE-LCHlch(25.73, 40.40, 313.29°)
OKLaboklab(37.14% 0.0633 -0.0826)
OKLCHoklch(37.14% 0.104 307.5)
XYZxyz(6.8024, 4.6569, 14.1734)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E6A #496A2E
analogous
#312E6A #4F2E6A #6A2E67
triadic
#4F2E6A #6A4F2E #2E6A4F
tetradic
#4F2E6A #6A312E #496A2E #2E676A
square
#4F2E6A #6A312E #496A2E #2E676A
split-complementary
#4F2E6A #676A2E #2E6A31
monochromatic
#100915 #2F1B3F #4F2E6A #6F4195 #8E5BB8

Accessibility & contrast

On white

10.87
#4F2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2E6A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E6A#FFFFFF#000000##FFFFFF
##4F2E6A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#263D69
Tritanopia (blue-blind)
#4B3947
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2e6a;
/* rgb */ color: rgb(79, 46, 106);
/* oklch */ color: oklch(37.1% 0.104 307.5);
Tailwind
colors: {
  custom: {
    50: '#826895',
    500: '#4f2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e6a;
$custom-light: #826895;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e6a",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 273,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.10406,
    "h": 307.5
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#4F2E6A
secondary
#779C58
accent
#CF588E
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4F2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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