#4B2267#4B2267

#4B2267 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.5% C 0.119 H 308.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2267
RGBrgb(75, 34, 103)
HSLhsl(276, 50%, 27%)
HSVhsv(276, 67%, 40%)
CMYKcmyk(27.2%, 67%, 0%, 59.6%)
CIE-LABlab(22.37, 32.82, -32.87)
CIE-LCHlch(22.37, 46.45, 314.96°)
OKLaboklab(34.5% 0.0746 -0.0928)
OKLCHoklch(34.5% 0.119 308.8)
XYZxyz(5.9214, 3.6193, 13.2160)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2267 #3E6722
analogous
#292267 #4B2267 #672261
triadic
#4B2267 #674B22 #22674B
tetradic
#4B2267 #672922 #3E6722 #226167
square
#4B2267 #672922 #3E6722 #226167
split-complementary
#4B2267 #616722 #226729
monochromatic
#110817 #291339 #4B2267 #6D3195 #8E43C1

Accessibility & contrast

On white

12.18
#4B2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4B2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2267
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2267#FFFFFF#000000##FFFFFF
##4B22671.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#173665
Tritanopia (blue-blind)
#473041
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b2267;
/* rgb */ color: rgb(75, 34, 103);
/* oklch */ color: oklch(34.5% 0.119 308.8);
Tailwind
colors: {
  custom: {
    50: '#806093',
    500: '#4b2267',
    950: '#000000',
  },
}
SCSS
$custom: #4b2267;
$custom-light: #806093;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2267",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 275.652,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.11907,
    "h": 308.8
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#4B2267
secondary
#6B9B4A
accent
#DA4E87
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B2267

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

Preview Lab → · Contrast checker → · Palette generator →

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