#4B267C#4B267C

#4B267C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.139 H 299.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4B267C
RGBrgb(75, 38, 124)
HSLhsl(266, 53%, 32%)
HSVhsv(266, 69%, 49%)
CMYKcmyk(39.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(24.76, 36.20, -42.51)
CIE-LCHlch(24.76, 55.83, 310.42°)
OKLaboklab(36.72% 0.0676 -0.1211)
OKLCHoklch(36.72% 0.139 299.2)
XYZxyz(7.2319, 4.3372, 19.5210)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B267C #577C26
analogous
#262C7C #4B267C #76267C
triadic
#4B267C #7C4B26 #267C4B
tetradic
#4B267C #7C262C #577C26 #267C76
square
#4B267C #7C262C #577C26 #267C76
split-complementary
#4B267C #7C7626 #2C7C26
monochromatic
#12091E #2F184D #4B267C #6734AB #8652CA

Accessibility & contrast

On white

11.25
#4B267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B267C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B267C#FFFFFF#000000##FFFFFF
##4B267C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b267c;
/* rgb */ color: rgb(75, 38, 124);
/* oklch */ color: oklch(36.7% 0.139 299.2);
Tailwind
colors: {
  custom: {
    50: '#8263a3',
    500: '#4b267c',
    950: '#000000',
  },
}
SCSS
$custom: #4b267c;
$custom-light: #8263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b267c",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 265.814,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36719,
    "c": 0.13871,
    "h": 299.2
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#4B267C
secondary
#85AE50
accent
#DC4B9E
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B267C

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

Preview Lab → · Contrast checker → · Palette generator →

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