#4B269D#4B269D

#4B269D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.178 H 289.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4B269D
RGBrgb(75, 38, 157)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(52.2%, 75.8%, 0%, 38.4%)
CIE-LABlab(27.62, 45.48, -58.33)
CIE-LCHlch(27.62, 73.97, 307.94°)
OKLaboklab(39.64% 0.0608 -0.1676)
OKLCHoklch(39.64% 0.178 289.9)
XYZxyz(9.6788, 5.3160, 32.4079)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B269D #789D26
analogous
#263D9D #4B269D #86269D
triadic
#4B269D #9D4B26 #269D4B
tetradic
#4B269D #9D263D #789D26 #269D86
square
#4B269D #9D263D #789D26 #269D86
split-complementary
#4B269D #9D8626 #3D9D26
monochromatic
#1C0E3A #331A6C #4B269D #6333CE #8864D9

Accessibility & contrast

On white

10.18
#4B269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B269D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B269D#FFFFFF#000000##FFFFFF
##4B269D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2D4760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b269d;
/* rgb */ color: rgb(75, 38, 157);
/* oklch */ color: oklch(39.6% 0.178 289.9);
Tailwind
colors: {
  custom: {
    50: '#8664bb',
    500: '#4b269d',
    950: '#000000',
  },
}
SCSS
$custom: #4b269d;
$custom-light: #8664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b269d",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 258.655,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39636,
    "c": 0.17828,
    "h": 289.9
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B269D

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

Preview Lab → · Contrast checker → · Palette generator →

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