#4A2095#4A2095

#4A2095 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.175 H 292.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#4A2095
RGBrgb(74, 32, 149)
HSLhsl(262, 65%, 35%)
HSVhsv(262, 79%, 58%)
CMYKcmyk(50.3%, 78.5%, 0%, 41.6%)
CIE-LABlab(25.74, 45.98, -56.52)
CIE-LCHlch(25.74, 72.86, 309.13°)
OKLaboklab(38.06% 0.0663 -0.1623)
OKLCHoklch(38.06% 0.175 292.2)
XYZxyz(8.7638, 4.6585, 28.8654)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2095 #6B9520
analogous
#203195 #4A2095 #842095
triadic
#4A2095 #954A20 #20954A
tetradic
#4A2095 #952031 #6B9520 #209584
square
#4A2095 #952031 #6B9520 #209584
split-complementary
#4A2095 #958420 #319520
monochromatic
#180A30 #311563 #4A2095 #632BC7 #8555DA

Accessibility & contrast

On white

10.87
#4A2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4A2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2095
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2095#FFFFFF#000000##FFFFFF
##4A20951.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#31415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2095;
/* rgb */ color: rgb(74, 32, 149);
/* oklch */ color: oklch(38.1% 0.175 292.2);
Tailwind
colors: {
  custom: {
    50: '#8561b5',
    500: '#4a2095',
    950: '#000000',
  },
}
SCSS
$custom: #4a2095;
$custom-light: #8561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2095",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 261.538,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.1753,
    "h": 292.2
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#4A2095
secondary
#98BE53
accent
#E840AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2095

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

Preview Lab → · Contrast checker → · Palette generator →

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