#4A2983#4A2983

#4A2983 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.143 H 295.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4A2983
RGBrgb(74, 41, 131)
HSLhsl(262, 52%, 34%)
HSVhsv(262, 69%, 51%)
CMYKcmyk(43.5%, 68.7%, 0%, 48.6%)
CIE-LABlab(25.80, 36.28, -45.22)
CIE-LCHlch(25.80, 57.98, 308.74°)
OKLaboklab(37.62% 0.0617 -0.1292)
OKLCHoklch(37.62% 0.143 295.5)
XYZxyz(7.7126, 4.6802, 21.9653)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2983 #628329
analogous
#293583 #4A2983 #772983
triadic
#4A2983 #834A29 #29834A
tetradic
#4A2983 #832935 #628329 #298377
square
#4A2983 #832935 #628329 #298377
split-complementary
#4A2983 #837729 #358329
monochromatic
#150C26 #301A54 #4A2983 #6438B2 #845BCC

Accessibility & contrast

On white

10.85
#4A2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2983
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2983#FFFFFF#000000##FFFFFF
##4A29831.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#3B3E52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2983;
/* rgb */ color: rgb(74, 41, 131);
/* oklch */ color: oklch(37.6% 0.143 295.5);
Tailwind
colors: {
  custom: {
    50: '#8265a8',
    500: '#4a2983',
    950: '#000000',
  },
}
SCSS
$custom: #4a2983;
$custom-light: #8265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2983",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 262,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.14314,
    "h": 295.5
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#4A2983
secondary
#90B157
accent
#DC4CA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2983

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

Preview Lab → · Contrast checker → · Palette generator →

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