#4A1675#4A1675

#4A1675 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 304.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#4A1675
RGBrgb(74, 22, 117)
HSLhsl(273, 68%, 27%)
HSVhsv(273, 81%, 46%)
CMYKcmyk(36.8%, 81.2%, 0%, 54.1%)
CIE-LABlab(21.26, 41.97, -43.73)
CIE-LCHlch(21.26, 60.62, 313.82°)
OKLaboklab(34.03% 0.0842 -0.1247)
OKLCHoklch(34.03% 0.15 304)
XYZxyz(6.3211, 3.3140, 17.1328)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1675 #417516
analogous
#1B1675 #4A1675 #751671
triadic
#4A1675 #754A16 #16754A
tetradic
#4A1675 #751B16 #417516 #167175
square
#4A1675 #751B16 #417516 #167175
split-complementary
#4A1675 #717516 #16751B
monochromatic
#10051A #290C41 #4A1675 #6B20A9 #8B2ED8

Accessibility & contrast

On white

12.63
#4A1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4A1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1675
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1675#FFFFFF#000000##FFFFFF
##4A16751.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#412F45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a1675;
/* rgb */ color: rgb(74, 22, 117);
/* oklch */ color: oklch(34.0% 0.150 304.0);
Tailwind
colors: {
  custom: {
    50: '#815a9e',
    500: '#4a1675',
    950: '#000000',
  },
}
SCSS
$custom: #4a1675;
$custom-light: #815a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1675",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 272.842,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.15044,
    "h": 304
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#4A1675
secondary
#6EAB3C
accent
#EB3D8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1675

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

Preview Lab → · Contrast checker → · Palette generator →

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