#4B269B#4B269B

#4B269B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.176 H 290.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4B269B
RGBrgb(75, 38, 155)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 75%, 61%)
CMYKcmyk(51.6%, 75.5%, 0%, 39.2%)
CIE-LABlab(27.43, 44.92, -57.42)
CIE-LCHlch(27.43, 72.90, 308.04°)
OKLaboklab(39.45% 0.0613 -0.1649)
OKLCHoklch(39.45% 0.176 290.4)
XYZxyz(9.5095, 5.2482, 31.5159)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B269B #769B26
analogous
#263C9B #4B269B #85269B
triadic
#4B269B #9B4B26 #269B4B
tetradic
#4B269B #9B263C #769B26 #269B85
square
#4B269B #9B263C #769B26 #269B85
split-complementary
#4B269B #9B8526 #3C9B26
monochromatic
#1B0E39 #331A6A #4B269B #6332CC #8863D9

Accessibility & contrast

On white

10.24
#4B269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B269B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B269B#FFFFFF#000000##FFFFFF
##4B269B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#2F465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b269b;
/* rgb */ color: rgb(75, 38, 155);
/* oklch */ color: oklch(39.4% 0.176 290.4);
Tailwind
colors: {
  custom: {
    50: '#8664ba',
    500: '#4b269b',
    950: '#000000',
  },
}
SCSS
$custom: #4b269b;
$custom-light: #8664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b269b",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 258.974,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.17594,
    "h": 290.4
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#4B269B
secondary
#A0BE5F
accent
#E444B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B269B

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

Preview Lab → · Contrast checker → · Palette generator →

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