#4B246E#4B246E

#4B246E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.124 H 305.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#4B246E
RGBrgb(75, 36, 110)
HSLhsl(272, 51%, 29%)
HSVhsv(272, 67%, 43%)
CMYKcmyk(31.8%, 67.3%, 0%, 56.9%)
CIE-LABlab(23.28, 33.53, -35.94)
CIE-LCHlch(23.28, 49.15, 313.01°)
OKLaboklab(35.32% 0.0715 -0.1018)
OKLCHoklch(35.32% 0.124 305.1)
XYZxyz(6.3464, 3.8834, 15.1641)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B246E #476E24
analogous
#26246E #4B246E #6E246C
triadic
#4B246E #6E4B24 #246E4B
tetradic
#4B246E #6E2624 #476E24 #246C6E
square
#4B246E #6E2624 #476E24 #246C6E
split-complementary
#4B246E #6C6E24 #246E26
monochromatic
#100817 #2C1540 #4B246E #6A339C #8A49C3

Accessibility & contrast

On white

11.82
#4B246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B246E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B246E#FFFFFF#000000##FFFFFF
##4B246E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#11386C
Tritanopia (blue-blind)
#453445
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b246e;
/* rgb */ color: rgb(75, 36, 110);
/* oklch */ color: oklch(35.3% 0.124 305.1);
Tailwind
colors: {
  custom: {
    50: '#806198',
    500: '#4b246e',
    950: '#000000',
  },
}
SCSS
$custom: #4b246e;
$custom-light: #806198;
$custom-dark: #000000;
JSON
{
  "hex": "#4b246e",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 271.622,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.12444,
    "h": 305.1
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#4B246E
secondary
#75A14D
accent
#DA4E90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4B246E

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

Preview Lab → · Contrast checker → · Palette generator →

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