#4B269C#4B269C

#4B269C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.177 H 290.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4B269C
RGBrgb(75, 38, 156)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 61%)
CMYKcmyk(51.9%, 75.6%, 0%, 38.8%)
CIE-LABlab(27.52, 45.20, -57.88)
CIE-LCHlch(27.52, 73.44, 307.99°)
OKLaboklab(39.54% 0.061 -0.1663)
OKLCHoklch(39.54% 0.177 290.2)
XYZxyz(9.5938, 5.2820, 31.9601)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B269C #779C26
analogous
#263C9C #4B269C #86269C
triadic
#4B269C #9C4B26 #269C4B
tetradic
#4B269C #9C263C #779C26 #269C86
square
#4B269C #9C263C #779C26 #269C86
split-complementary
#4B269C #9C8626 #3C9C26
monochromatic
#1C0E3A #331A6B #4B269C #6332CD #8863D9

Accessibility & contrast

On white

10.21
#4B269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B269C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B269C#FFFFFF#000000##FFFFFF
##4B269C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#2E465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b269c;
/* rgb */ color: rgb(75, 38, 156);
/* oklch */ color: oklch(39.5% 0.177 290.2);
Tailwind
colors: {
  custom: {
    50: '#8664ba',
    500: '#4b269c',
    950: '#000000',
  },
}
SCSS
$custom: #4b269c;
$custom-light: #8664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b269c",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 258.814,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.17711,
    "h": 290.2
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#4B269C
secondary
#A1BF5F
accent
#E444B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B269C

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

Preview Lab → · Contrast checker → · Palette generator →

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