#4F296D#4F296D

#4F296D is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.116 H 307.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4F296D
RGBrgb(79, 41, 109)
HSLhsl(274, 45%, 29%)
HSVhsv(274, 62%, 43%)
CMYKcmyk(27.5%, 62.4%, 0%, 57.3%)
CIE-LABlab(24.80, 31.46, -32.82)
CIE-LCHlch(24.80, 45.46, 313.78°)
OKLaboklab(36.52% 0.0707 -0.0926)
OKLCHoklch(36.52% 0.116 307.4)
XYZxyz(6.7771, 4.3523, 14.9481)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F296D #476D29
analogous
#2D296D #4F296D #6D2969
triadic
#4F296D #6D4F29 #296D4F
tetradic
#4F296D #6D2D29 #476D29 #29696D
square
#4F296D #6D2D29 #476D29 #29696D
split-complementary
#4F296D #696D29 #296D2D
monochromatic
#100816 #2F1841 #4F296D #6F3A99 #8F52BE

Accessibility & contrast

On white

11.23
#4F296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F296D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F296D#FFFFFF#000000##FFFFFF
##4F296D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f296d;
/* rgb */ color: rgb(79, 41, 109);
/* oklch */ color: oklch(36.5% 0.116 307.4);
Tailwind
colors: {
  custom: {
    50: '#836597',
    500: '#4f296d',
    950: '#000000',
  },
}
SCSS
$custom: #4f296d;
$custom-light: #836597;
$custom-dark: #000000;
JSON
{
  "hex": "#4f296d",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 273.529,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.11646,
    "h": 307.4
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#4F296D
secondary
#749F53
accent
#D5538C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4F296D

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

Preview Lab → · Contrast checker → · Palette generator →

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