#4B267F#4B267F

#4B267F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.142 H 298.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4B267F
RGBrgb(75, 38, 127)
HSLhsl(265, 54%, 32%)
HSVhsv(265, 70%, 50%)
CMYKcmyk(40.9%, 70.1%, 0%, 50.2%)
CIE-LABlab(25.00, 37.03, -44.01)
CIE-LCHlch(25.00, 57.52, 310.08°)
OKLaboklab(36.97% 0.0672 -0.1256)
OKLCHoklch(36.97% 0.142 298.1)
XYZxyz(7.4246, 4.4143, 20.5354)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B267F #5A7F26
analogous
#262E7F #4B267F #78267F
triadic
#4B267F #7F4B26 #267F4B
tetradic
#4B267F #7F262E #5A7F26 #267F78
square
#4B267F #7F262E #5A7F26 #267F78
split-complementary
#4B267F #7F7826 #2E7F26
monochromatic
#130A21 #2F1850 #4B267F #6734AE #8654CC

Accessibility & contrast

On white

11.15
#4B267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B267F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B267F#FFFFFF#000000##FFFFFF
##4B267F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#3E3B4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b267f;
/* rgb */ color: rgb(75, 38, 127);
/* oklch */ color: oklch(37.0% 0.142 298.1);
Tailwind
colors: {
  custom: {
    50: '#8263a5',
    500: '#4b267f',
    950: '#000000',
  },
}
SCSS
$custom: #4b267f;
$custom-light: #8263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b267f",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 264.944,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.14239,
    "h": 298.1
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#4B267F
secondary
#88B051
accent
#DD4AA0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B267F

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

Preview Lab → · Contrast checker → · Palette generator →

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