#4A1175#4A1175

#4A1175 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.155 H 304.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4A1175
RGBrgb(74, 17, 117)
HSLhsl(274, 75%, 26%)
HSVhsv(274, 85%, 46%)
CMYKcmyk(36.8%, 85.5%, 0%, 54.1%)
CIE-LABlab(20.60, 43.89, -44.81)
CIE-LCHlch(20.60, 62.72, 314.40°)
OKLaboklab(33.57% 0.0883 -0.1278)
OKLCHoklch(33.57% 0.155 304.6)
XYZxyz(6.2346, 3.1411, 17.1040)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1175 #3C7511
analogous
#181175 #4A1175 #75116E
triadic
#4A1175 #754A11 #11754A
tetradic
#4A1175 #751811 #3C7511 #116E75
square
#4A1175 #751811 #3C7511 #116E75
split-complementary
#4A1175 #6E7511 #117518
monochromatic
#11041B #280940 #4A1175 #6C19AA #8D22DF

Accessibility & contrast

On white

12.90
#4A1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1175
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1175#FFFFFF#000000##FFFFFF
##4A11751.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#422D44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1175;
/* rgb */ color: rgb(74, 17, 117);
/* oklch */ color: oklch(33.6% 0.155 304.6);
Tailwind
colors: {
  custom: {
    50: '#82589e',
    500: '#4a1175',
    950: '#000000',
  },
}
SCSS
$custom: #4a1175;
$custom-light: #82589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1175",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 274.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.15534,
    "h": 304.6
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#4A1175
secondary
#69AC36
accent
#F13787
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1175

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

Preview Lab → · Contrast checker → · Palette generator →

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