#4B246C#4B246C

#4B246C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.122 H 306.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4B246C
RGBrgb(75, 36, 108)
HSLhsl(273, 50%, 28%)
HSVhsv(273, 67%, 42%)
CMYKcmyk(30.6%, 66.7%, 0%, 57.6%)
CIE-LABlab(23.14, 33.00, -34.88)
CIE-LCHlch(23.14, 48.02, 313.41°)
OKLaboklab(35.17% 0.0717 -0.0987)
OKLCHoklch(35.17% 0.122 306)
XYZxyz(6.2387, 3.8404, 14.5971)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B246C #456C24
analogous
#27246C #4B246C #6C2469
triadic
#4B246C #6C4B24 #246C4B
tetradic
#4B246C #6C2724 #456C24 #24696C
square
#4B246C #6C2724 #456C24 #24696C
split-complementary
#4B246C #696C24 #246C27
monochromatic
#100817 #2B153E #4B246C #6B339A #8A48C2

Accessibility & contrast

On white

11.88
#4B246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B246C
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B246C#FFFFFF#000000##FFFFFF
##4B246C1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#453344
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b246c;
/* rgb */ color: rgb(75, 36, 108);
/* oklch */ color: oklch(35.2% 0.122 306.0);
Tailwind
colors: {
  custom: {
    50: '#806197',
    500: '#4b246c',
    950: '#000000',
  },
}
SCSS
$custom: #4b246c;
$custom-light: #806197;
$custom-dark: #000000;
JSON
{
  "hex": "#4b246c",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 272.5,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.122,
    "h": 306
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#4B246C
secondary
#729F4D
accent
#DA4E8E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4B246C

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

Preview Lab → · Contrast checker → · Palette generator →

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