#4F296E#4F296E

#4F296E is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.6% C 0.118 H 306.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4F296E
RGBrgb(79, 41, 110)
HSLhsl(273, 46%, 30%)
HSVhsv(273, 63%, 43%)
CMYKcmyk(28.2%, 62.7%, 0%, 56.9%)
CIE-LABlab(24.87, 31.72, -33.36)
CIE-LCHlch(24.87, 46.03, 313.55°)
OKLaboklab(36.59% 0.0707 -0.0941)
OKLCHoklch(36.59% 0.118 306.9)
XYZxyz(6.8313, 4.3740, 15.2332)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F296E #486E29
analogous
#2C296E #4F296E #6E296B
triadic
#4F296E #6E4F29 #296E4F
tetradic
#4F296E #6E2C29 #486E29 #296B6E
square
#4F296E #6E2C29 #486E29 #296B6E
split-complementary
#4F296E #6B6E29 #296E2C
monochromatic
#100816 #2F1841 #4F296E #6F3A9B #8E53BF

Accessibility & contrast

On white

11.20
#4F296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F296E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F296E#FFFFFF#000000##FFFFFF
##4F296E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#4A3647
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f296e;
/* rgb */ color: rgb(79, 41, 110);
/* oklch */ color: oklch(36.6% 0.118 306.9);
Tailwind
colors: {
  custom: {
    50: '#836598',
    500: '#4f296e',
    950: '#000000',
  },
}
SCSS
$custom: #4f296e;
$custom-light: #836598;
$custom-dark: #000000;
JSON
{
  "hex": "#4f296e",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 273.043,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3659,
    "c": 0.11771,
    "h": 306.9
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#4F296E
secondary
#75A053
accent
#D5528D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F296E

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

Preview Lab → · Contrast checker → · Palette generator →

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