#4A246D#4A246D

#4A246D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.123 H 304.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#4A246D
RGBrgb(74, 36, 109)
HSLhsl(271, 50%, 28%)
HSVhsv(271, 67%, 43%)
CMYKcmyk(32.1%, 67%, 0%, 57.3%)
CIE-LABlab(23.07, 33.01, -35.64)
CIE-LCHlch(23.07, 48.58, 312.81°)
OKLaboklab(35.11% 0.0701 -0.101)
OKLCHoklch(35.11% 0.123 304.8)
XYZxyz(6.2146, 3.8218, 14.8753)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A246D #476D24
analogous
#25246D #4A246D #6D246B
triadic
#4A246D #6D4A24 #246D4A
tetradic
#4A246D #6D2524 #476D24 #246B6D
square
#4A246D #6D2524 #476D24 #246B6D
split-complementary
#4A246D #6B6D24 #246D25
monochromatic
#100817 #2B153F #4A246D #69339B #8849C3

Accessibility & contrast

On white

11.90
#4A246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4A246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A246D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A246D#FFFFFF#000000##FFFFFF
##4A246D1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#443345
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a246d;
/* rgb */ color: rgb(74, 36, 109);
/* oklch */ color: oklch(35.1% 0.123 304.8);
Tailwind
colors: {
  custom: {
    50: '#806197',
    500: '#4a246d',
    950: '#000000',
  },
}
SCSS
$custom: #4a246d;
$custom-light: #806197;
$custom-dark: #000000;
JSON
{
  "hex": "#4a246d",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 271.233,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35114,
    "c": 0.12294,
    "h": 304.8
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#4A246D
secondary
#75A04D
accent
#DA4E91
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #4A246D

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

Preview Lab → · Contrast checker → · Palette generator →

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