#4A2094#4A2094

#4A2094 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.174 H 292.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4A2094
RGBrgb(74, 32, 148)
HSLhsl(262, 64%, 35%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(50%, 78.4%, 0%, 42%)
CIE-LABlab(25.64, 45.70, -56.06)
CIE-LCHlch(25.64, 72.33, 309.19°)
OKLaboklab(37.97% 0.0666 -0.1609)
OKLCHoklch(37.97% 0.174 292.5)
XYZxyz(8.6843, 4.6267, 28.4467)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2094 #6A9420
analogous
#203094 #4A2094 #842094
triadic
#4A2094 #944A20 #20944A
tetradic
#4A2094 #942030 #6A9420 #209484
square
#4A2094 #942030 #6A9420 #209484
split-complementary
#4A2094 #948420 #309420
monochromatic
#180A2F #311562 #4A2094 #632BC6 #8554DA

Accessibility & contrast

On white

10.91
#4A2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2094
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2094#FFFFFF#000000##FFFFFF
##4A20941.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#324059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2094;
/* rgb */ color: rgb(74, 32, 148);
/* oklch */ color: oklch(38.0% 0.174 292.5);
Tailwind
colors: {
  custom: {
    50: '#8561b4',
    500: '#4a2094',
    950: '#000000',
  },
}
SCSS
$custom: #4a2094;
$custom-light: #8561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2094",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 261.724,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.17416,
    "h": 292.5
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#4A2094
secondary
#97BE52
accent
#E740AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2094

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

Preview Lab → · Contrast checker → · Palette generator →

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