#4B266A#4B266A

#4B266A is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.3% C 0.116 H 306.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#4B266A
RGBrgb(75, 38, 106)
HSLhsl(273, 47%, 28%)
HSVhsv(273, 64%, 42%)
CMYKcmyk(29.2%, 64.2%, 0%, 58.4%)
CIE-LABlab(23.41, 31.34, -33.14)
CIE-LCHlch(23.41, 45.61, 313.40°)
OKLaboklab(35.32% 0.0691 -0.0936)
OKLCHoklch(35.32% 0.116 306.4)
XYZxyz(6.1957, 3.9227, 14.0636)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B266A #456A26
analogous
#29266A #4B266A #6A2667
triadic
#4B266A #6A4B26 #266A4B
tetradic
#4B266A #6A2926 #456A26 #26676A
square
#4B266A #6A2926 #456A26 #26676A
split-complementary
#4B266A #676A26 #266A29
monochromatic
#100817 #2B163D #4B266A #6B3697 #8A4CBF

Accessibility & contrast

On white

11.77
#4B266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B266A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B266A#FFFFFF#000000##FFFFFF
##4B266A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376C
Deuteranopia (green-blind)
#193868
Tritanopia (blue-blind)
#463444
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b266a;
/* rgb */ color: rgb(75, 38, 106);
/* oklch */ color: oklch(35.3% 0.116 306.4);
Tailwind
colors: {
  custom: {
    50: '#806295',
    500: '#4b266a',
    950: '#000000',
  },
}
SCSS
$custom: #4b266a;
$custom-light: #806295;
$custom-dark: #000000;
JSON
{
  "hex": "#4b266a",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 272.647,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.11635,
    "h": 306.4
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#4B266A
secondary
#729D4F
accent
#D7518E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B266A

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

Preview Lab → · Contrast checker → · Palette generator →

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