#4A2985#4A2985

#4A2985 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.146 H 294.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4A2985
RGBrgb(74, 41, 133)
HSLhsl(262, 53%, 34%)
HSVhsv(262, 69%, 52%)
CMYKcmyk(44.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(25.97, 36.85, -46.21)
CIE-LCHlch(25.97, 59.11, 308.57°)
OKLaboklab(37.79% 0.0614 -0.1321)
OKLCHoklch(37.79% 0.146 294.9)
XYZxyz(7.8495, 4.7350, 22.6861)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2985 #648529
analogous
#293685 #4A2985 #782985
triadic
#4A2985 #854A29 #29854A
tetradic
#4A2985 #852936 #648529 #298578
square
#4A2985 #852936 #648529 #298578
split-complementary
#4A2985 #857829 #368529
monochromatic
#160C27 #301B56 #4A2985 #6437B4 #845CCD

Accessibility & contrast

On white

10.79
#4A2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2985
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2985#FFFFFF#000000##FFFFFF
##4A29851.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#3A3F53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2985;
/* rgb */ color: rgb(74, 41, 133);
/* oklch */ color: oklch(37.8% 0.146 294.9);
Tailwind
colors: {
  custom: {
    50: '#8265a9',
    500: '#4a2985',
    950: '#000000',
  },
}
SCSS
$custom: #4a2985;
$custom-light: #8265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2985",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 261.522,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.14564,
    "h": 294.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#4A2985
secondary
#92B258
accent
#DC4CA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2985

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

Preview Lab → · Contrast checker → · Palette generator →

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