#4A2A63#4A2A63

#4A2A63 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.100 H 308.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4A2A63
RGBrgb(74, 42, 99)
HSLhsl(274, 40%, 28%)
HSVhsv(274, 58%, 39%)
CMYKcmyk(25.3%, 57.6%, 0%, 61.2%)
CIE-LABlab(23.71, 26.84, -28.12)
CIE-LCHlch(23.71, 38.87, 313.66°)
OKLaboklab(35.36% 0.0617 -0.079)
OKLCHoklch(35.36% 0.1 308)
XYZxyz(5.9037, 4.0127, 12.2655)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A63 #43632A
analogous
#2D2A63 #4A2A63 #632A60
triadic
#4A2A63 #634A2A #2A634A
tetradic
#4A2A63 #632D2A #43632A #2A6063
square
#4A2A63 #632D2A #43632A #2A6063
split-complementary
#4A2A63 #60632A #2A632D
monochromatic
#100915 #2A1838 #4A2A63 #6A3C8E #8A52B6

Accessibility & contrast

On white

11.65
#4A2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A63
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A63#FFFFFF#000000##FFFFFF
##4A2A631.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183765
Deuteranopia (green-blind)
#233962
Tritanopia (blue-blind)
#463442
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a2a63;
/* rgb */ color: rgb(74, 42, 99);
/* oklch */ color: oklch(35.4% 0.100 308.0);
Tailwind
colors: {
  custom: {
    50: '#7e6590',
    500: '#4a2a63',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a63;
$custom-light: #7e6590;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a63",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 273.684,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.10022,
    "h": 308
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#4A2A63
secondary
#709553
accent
#D0588C
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4A2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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