#4A2D64#4A2D64

#4A2D64 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.096 H 306.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4A2D64
RGBrgb(74, 45, 100)
HSLhsl(272, 38%, 28%)
HSVhsv(272, 55%, 39%)
CMYKcmyk(26%, 55%, 0%, 60.8%)
CIE-LABlab(24.49, 25.25, -27.54)
CIE-LCHlch(24.49, 37.36, 312.51°)
OKLaboklab(35.96% 0.0572 -0.0773)
OKLCHoklch(35.96% 0.096 306.5)
XYZxyz(6.0622, 4.2528, 12.5556)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D64 #47642D
analogous
#2E2D64 #4A2D64 #642D62
triadic
#4A2D64 #644A2D #2D644A
tetradic
#4A2D64 #642E2D #47642D #2D6264
square
#4A2D64 #642E2D #47642D #2D6264
split-complementary
#4A2D64 #62642D #2D642E
monochromatic
#100915 #2B1A3A #4A2D64 #69408E #8858B4

Accessibility & contrast

On white

11.35
#4A2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4A2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D64
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D64#FFFFFF#000000##FFFFFF
##4A2D641.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3966
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#463744
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2d64;
/* rgb */ color: rgb(74, 45, 100);
/* oklch */ color: oklch(36.0% 0.096 306.5);
Tailwind
colors: {
  custom: {
    50: '#7e6790',
    500: '#4a2d64',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d64;
$custom-light: #7e6790;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d64",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 271.636,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35957,
    "c": 0.09616,
    "h": 306.5
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#4A2D64
secondary
#759657
accent
#CE5A91
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4A2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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