#4B267D#4B267D

#4B267D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.140 H 298.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4B267D
RGBrgb(75, 38, 125)
HSLhsl(266, 53%, 32%)
HSVhsv(266, 70%, 49%)
CMYKcmyk(40%, 69.6%, 0%, 51%)
CIE-LABlab(24.84, 36.47, -43.01)
CIE-LCHlch(24.84, 56.39, 310.30°)
OKLaboklab(36.8% 0.0675 -0.1226)
OKLCHoklch(36.8% 0.14 298.8)
XYZxyz(7.2955, 4.3627, 19.8558)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B267D #587D26
analogous
#262D7D #4B267D #77267D
triadic
#4B267D #7D4B26 #267D4B
tetradic
#4B267D #7D262D #587D26 #267D77
square
#4B267D #7D262D #587D26 #267D77
split-complementary
#4B267D #7D7726 #2D7D26
monochromatic
#13091F #2F184E #4B267D #6734AC #8653CB

Accessibility & contrast

On white

11.21
#4B267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B267D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B267D#FFFFFF#000000##FFFFFF
##4B267D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#3F3A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b267d;
/* rgb */ color: rgb(75, 38, 125);
/* oklch */ color: oklch(36.8% 0.140 298.8);
Tailwind
colors: {
  custom: {
    50: '#8263a3',
    500: '#4b267d',
    950: '#000000',
  },
}
SCSS
$custom: #4b267d;
$custom-light: #8263a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b267d",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 265.517,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36801,
    "c": 0.13994,
    "h": 298.8
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#4B267D
secondary
#87AF50
accent
#DD4B9F
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B267D

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

Preview Lab → · Contrast checker → · Palette generator →

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