#4A2B60#4A2B60

#4A2B60 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.094 H 309.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#4A2B60
RGBrgb(74, 43, 96)
HSLhsl(275, 38%, 27%)
HSVhsv(275, 55%, 38%)
CMYKcmyk(22.9%, 55.2%, 0%, 62.4%)
CIE-LABlab(23.76, 25.44, -26.08)
CIE-LCHlch(23.76, 36.43, 314.29°)
OKLaboklab(35.34% 0.0599 -0.073)
OKLCHoklch(35.34% 0.094 309.4)
XYZxyz(5.7988, 4.0282, 11.5361)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B60 #41602B
analogous
#302B60 #4A2B60 #602B5C
triadic
#4A2B60 #604A2B #2B604A
tetradic
#4A2B60 #60302B #41602B #2B5C60
square
#4A2B60 #60302B #41602B #2B5C60
split-complementary
#4A2B60 #5C602B #2B6030
monochromatic
#100915 #291836 #4A2B60 #6B3E8A #8B53B2

Accessibility & contrast

On white

11.63
#4A2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4A2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B60
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B60#FFFFFF#000000##FFFFFF
##4A2B601.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3762
Deuteranopia (green-blind)
#26395F
Tritanopia (blue-blind)
#473441
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2b60;
/* rgb */ color: rgb(74, 43, 96);
/* oklch */ color: oklch(35.3% 0.094 309.4);
Tailwind
colors: {
  custom: {
    50: '#7e658d',
    500: '#4a2b60',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b60;
$custom-light: #7e658d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b60",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 275.094,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3534,
    "c": 0.09445,
    "h": 309.4
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#4A2B60
secondary
#6E9255
accent
#CE5A8A
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4A2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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