#4B267E#4B267E

#4B267E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.141 H 298.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4B267E
RGBrgb(75, 38, 126)
HSLhsl(265, 54%, 32%)
HSVhsv(265, 70%, 49%)
CMYKcmyk(40.5%, 69.8%, 0%, 50.6%)
CIE-LABlab(24.92, 36.75, -43.51)
CIE-LCHlch(24.92, 56.96, 310.19°)
OKLaboklab(36.88% 0.0673 -0.1241)
OKLCHoklch(36.88% 0.141 298.5)
XYZxyz(7.3597, 4.3883, 20.1939)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B267E #597E26
analogous
#262D7E #4B267E #77267E
triadic
#4B267E #7E4B26 #267E4B
tetradic
#4B267E #7E262D #597E26 #267E77
square
#4B267E #7E262D #597E26 #267E77
split-complementary
#4B267E #7E7726 #2D7E26
monochromatic
#130A20 #2F184F #4B267E #6734AD #8653CB

Accessibility & contrast

On white

11.18
#4B267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B267E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B267E#FFFFFF#000000##FFFFFF
##4B267E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#3F3B4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b267e;
/* rgb */ color: rgb(75, 38, 126);
/* oklch */ color: oklch(36.9% 0.141 298.5);
Tailwind
colors: {
  custom: {
    50: '#8263a4',
    500: '#4b267e',
    950: '#000000',
  },
}
SCSS
$custom: #4b267e;
$custom-light: #8263a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b267e",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 265.227,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.14117,
    "h": 298.5
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#4B267E
secondary
#87B050
accent
#DD4BA0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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