#4A1075#4A1075

#4A1075 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.156 H 304.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4A1075
RGBrgb(74, 16, 117)
HSLhsl(274, 76%, 26%)
HSVhsv(274, 86%, 46%)
CMYKcmyk(36.8%, 86.3%, 0%, 54.1%)
CIE-LABlab(20.48, 44.23, -45.00)
CIE-LCHlch(20.48, 63.10, 314.51°)
OKLaboklab(33.49% 0.0891 -0.1284)
OKLCHoklch(33.49% 0.156 304.8)
XYZxyz(6.2195, 3.1108, 17.0990)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1075 #3B7510
analogous
#171075 #4A1075 #75106D
triadic
#4A1075 #754A10 #10754A
tetradic
#4A1075 #751710 #3B7510 #106D75
square
#4A1075 #751710 #3B7510 #106D75
split-complementary
#4A1075 #6D7510 #107517
monochromatic
#11041B #28093F #4A1075 #6C17AB #8E1FE0

Accessibility & contrast

On white

12.95
#4A1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4A1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1075
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1075#FFFFFF#000000##FFFFFF
##4A10751.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#422C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1075;
/* rgb */ color: rgb(74, 16, 117);
/* oklch */ color: oklch(33.5% 0.156 304.8);
Tailwind
colors: {
  custom: {
    50: '#82579e',
    500: '#4a1075',
    950: '#000000',
  },
}
SCSS
$custom: #4a1075;
$custom-light: #82579e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1075",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 274.455,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.15622,
    "h": 304.8
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#4A1075
secondary
#68AC35
accent
#F33586
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1075

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

Preview Lab → · Contrast checker → · Palette generator →

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