#4B256A#4B256A

#4B256A is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.118 H 306.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#4B256A
RGBrgb(75, 37, 106)
HSLhsl(273, 48%, 28%)
HSVhsv(273, 65%, 42%)
CMYKcmyk(29.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(23.20, 31.91, -33.48)
CIE-LCHlch(23.20, 46.25, 313.62°)
OKLaboklab(35.17% 0.0705 -0.0946)
OKLCHoklch(35.17% 0.118 306.7)
XYZxyz(6.1642, 3.8597, 14.0531)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B256A #446A25
analogous
#28256A #4B256A #6A2566
triadic
#4B256A #6A4B25 #256A4B
tetradic
#4B256A #6A2825 #446A25 #25666A
square
#4B256A #6A2825 #446A25 #25666A
split-complementary
#4B256A #666A25 #256A28
monochromatic
#100817 #2B153D #4B256A #6B3597 #8B4AC0

Accessibility & contrast

On white

11.85
#4B256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B256A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B256A#FFFFFF#000000##FFFFFF
##4B256A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#183868
Tritanopia (blue-blind)
#463343
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b256a;
/* rgb */ color: rgb(75, 37, 106);
/* oklch */ color: oklch(35.2% 0.118 306.7);
Tailwind
colors: {
  custom: {
    50: '#806295',
    500: '#4b256a',
    950: '#000000',
  },
}
SCSS
$custom: #4b256a;
$custom-light: #806295;
$custom-dark: #000000;
JSON
{
  "hex": "#4b256a",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 273.043,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35168,
    "c": 0.11796,
    "h": 306.7
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#4B256A
secondary
#719D4E
accent
#D8508D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B256A

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

Preview Lab → · Contrast checker → · Palette generator →

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