#4F296B#4F296B

#4F296B is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.4% C 0.114 H 308.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4F296B
RGBrgb(79, 41, 107)
HSLhsl(275, 45%, 29%)
HSVhsv(275, 62%, 42%)
CMYKcmyk(26.2%, 61.7%, 0%, 58%)
CIE-LABlab(24.67, 30.94, -31.75)
CIE-LCHlch(24.67, 44.33, 314.26°)
OKLaboklab(36.38% 0.0707 -0.0894)
OKLCHoklch(36.38% 0.114 308.3)
XYZxyz(6.6707, 4.3098, 14.3875)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F296B #456B29
analogous
#2E296B #4F296B #6B2966
triadic
#4F296B #6B4F29 #296B4F
tetradic
#4F296B #6B2E29 #456B29 #29666B
square
#4F296B #6B2E29 #456B29 #29666B
split-complementary
#4F296B #666B29 #296B2E
monochromatic
#100816 #2E183F #4F296B #703A97 #8F52BD

Accessibility & contrast

On white

11.28
#4F296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F296B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F296B#FFFFFF#000000##FFFFFF
##4F296B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#203B69
Tritanopia (blue-blind)
#4B3546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f296b;
/* rgb */ color: rgb(79, 41, 107);
/* oklch */ color: oklch(36.4% 0.114 308.3);
Tailwind
colors: {
  custom: {
    50: '#836596',
    500: '#4f296b',
    950: '#000000',
  },
}
SCSS
$custom: #4f296b;
$custom-light: #836596;
$custom-dark: #000000;
JSON
{
  "hex": "#4f296b",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 274.545,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.11396,
    "h": 308.3
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#4F296B
secondary
#729D52
accent
#D4538A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4F296B

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

Preview Lab → · Contrast checker → · Palette generator →

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