#4B267B#4B267B

#4B267B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.137 H 299.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4B267B
RGBrgb(75, 38, 123)
HSLhsl(266, 53%, 32%)
HSVhsv(266, 69%, 48%)
CMYKcmyk(39%, 69.1%, 0%, 51.8%)
CIE-LABlab(24.68, 35.92, -42.00)
CIE-LCHlch(24.68, 55.27, 310.54°)
OKLaboklab(36.64% 0.0677 -0.1196)
OKLCHoklch(36.64% 0.137 299.5)
XYZxyz(7.1690, 4.3121, 19.1897)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B267B #567B26
analogous
#262C7B #4B267B #76267B
triadic
#4B267B #7B4B26 #267B4B
tetradic
#4B267B #7B262C #567B26 #267B76
square
#4B267B #7B262C #567B26 #267B76
split-complementary
#4B267B #7B7626 #2C7B26
monochromatic
#12091D #2E184C #4B267B #6834AA #8652CA

Accessibility & contrast

On white

11.28
#4B267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B267B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B267B#FFFFFF#000000##FFFFFF
##4B267B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#403A4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b267b;
/* rgb */ color: rgb(75, 38, 123);
/* oklch */ color: oklch(36.6% 0.137 299.5);
Tailwind
colors: {
  custom: {
    50: '#8263a2',
    500: '#4b267b',
    950: '#000000',
  },
}
SCSS
$custom: #4b267b;
$custom-light: #8263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b267b",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 266.118,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36637,
    "c": 0.13748,
    "h": 299.5
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#4B267B
secondary
#84AD50
accent
#DC4C9D
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B267B

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

Preview Lab → · Contrast checker → · Palette generator →

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