#4A2575#4A2575

#4A2575 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.131 H 301.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4A2575
RGBrgb(74, 37, 117)
HSLhsl(268, 52%, 30%)
HSVhsv(268, 68%, 46%)
CMYKcmyk(36.8%, 68.4%, 0%, 54.1%)
CIE-LABlab(23.88, 34.61, -39.48)
CIE-LCHlch(23.88, 52.50, 311.24°)
OKLaboklab(35.89% 0.0682 -0.1123)
OKLCHoklch(35.89% 0.131 301.3)
XYZxyz(6.6957, 4.0633, 17.2577)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2575 #507525
analogous
#252875 #4A2575 #722575
triadic
#4A2575 #754A25 #25754A
tetradic
#4A2575 #752528 #507525 #257572
square
#4A2575 #752528 #507525 #257572
split-complementary
#4A2575 #757225 #287525
monochromatic
#0F0818 #2D1647 #4A2575 #6734A3 #864EC7

Accessibility & contrast

On white

11.59
#4A2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4A2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2575
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2575#FFFFFF#000000##FFFFFF
##4A25751.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#413749
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2575;
/* rgb */ color: rgb(74, 37, 117);
/* oklch */ color: oklch(35.9% 0.131 301.3);
Tailwind
colors: {
  custom: {
    50: '#80629d',
    500: '#4a2575',
    950: '#000000',
  },
}
SCSS
$custom: #4a2575;
$custom-light: #80629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2575",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 267.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.13133,
    "h": 301.3
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#4A2575
secondary
#7EA84E
accent
#DB4C99
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4A2575

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

Preview Lab → · Contrast checker → · Palette generator →

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