#4B2264#4B2264

#4B2264 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.3% C 0.115 H 310.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#4B2264
RGBrgb(75, 34, 100)
HSLhsl(277, 49%, 26%)
HSVhsv(277, 66%, 39%)
CMYKcmyk(25%, 66%, 0%, 60.8%)
CIE-LABlab(22.16, 32.06, -31.25)
CIE-LCHlch(22.16, 44.77, 315.74°)
OKLaboklab(34.28% 0.0747 -0.088)
OKLCHoklch(34.28% 0.115 310.3)
XYZxyz(5.7735, 3.5601, 12.4372)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2264 #3B6422
analogous
#2A2264 #4B2264 #64225C
triadic
#4B2264 #644B22 #22644B
tetradic
#4B2264 #642A22 #3B6422 #225C64
square
#4B2264 #642A22 #3B6422 #225C64
split-complementary
#4B2264 #5C6422 #22642A
monochromatic
#110817 #291236 #4B2264 #6D3292 #8F42BF

Accessibility & contrast

On white

12.27
#4B2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4B2264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2264
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2264#FFFFFF#000000##FFFFFF
##4B22641.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053366
Deuteranopia (green-blind)
#1A3662
Tritanopia (blue-blind)
#482F3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b2264;
/* rgb */ color: rgb(75, 34, 100);
/* oklch */ color: oklch(34.3% 0.115 310.3);
Tailwind
colors: {
  custom: {
    50: '#806090',
    500: '#4b2264',
    950: '#000000',
  },
}
SCSS
$custom: #4b2264;
$custom-light: #806090;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2264",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 277.273,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.11548,
    "h": 310.3
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#4B2264
secondary
#67984A
accent
#D94F83
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4B2264

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

Preview Lab → · Contrast checker → · Palette generator →

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