#4A2380#4A2380

#4A2380 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.147 H 297.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4A2380
RGBrgb(74, 35, 128)
HSLhsl(265, 57%, 32%)
HSVhsv(265, 73%, 50%)
CMYKcmyk(42.2%, 72.7%, 0%, 49.8%)
CIE-LABlab(24.37, 38.71, -45.66)
CIE-LCHlch(24.37, 59.86, 310.29°)
OKLaboklab(36.52% 0.0688 -0.1304)
OKLCHoklch(36.52% 0.147 297.8)
XYZxyz(7.3204, 4.2163, 20.8460)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2380 #598023
analogous
#232B80 #4A2380 #792380
triadic
#4A2380 #804A23 #23804A
tetradic
#4A2380 #80232B #598023 #238079
square
#4A2380 #80232B #598023 #238079
split-complementary
#4A2380 #807923 #2B8023
monochromatic
#120920 #2E1650 #4A2380 #6630B0 #844FCF

Accessibility & contrast

On white

11.39
#4A2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2380
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2380#FFFFFF#000000##FFFFFF
##4A23801.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#3D3A4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2380;
/* rgb */ color: rgb(74, 35, 128);
/* oklch */ color: oklch(36.5% 0.147 297.8);
Tailwind
colors: {
  custom: {
    50: '#8261a6',
    500: '#4a2380',
    950: '#000000',
  },
}
SCSS
$custom: #4a2380;
$custom-light: #8261a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2380",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 265.161,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.14744,
    "h": 297.8
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#4A2380
secondary
#88B24D
accent
#E047A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A2380

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

Preview Lab → · Contrast checker → · Palette generator →

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