#4A276F#4A276F

#4A276F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.7% C 0.121 H 303.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4A276F
RGBrgb(74, 39, 111)
HSLhsl(269, 48%, 29%)
HSVhsv(269, 65%, 44%)
CMYKcmyk(33.3%, 64.9%, 0%, 56.5%)
CIE-LABlab(23.85, 31.83, -35.68)
CIE-LCHlch(23.85, 47.81, 311.74°)
OKLaboklab(35.72% 0.0661 -0.1011)
OKLCHoklch(35.72% 0.121 303.2)
XYZxyz(6.4181, 4.0546, 15.4803)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A276F #4C6F27
analogous
#27286F #4A276F #6E276F
triadic
#4A276F #6F4A27 #276F4A
tetradic
#4A276F #6F2728 #4C6F27 #276F6E
square
#4A276F #6F2728 #4C6F27 #276F6E
split-complementary
#4A276F #6F6E27 #286F27
monochromatic
#0F0817 #2C1742 #4A276F #68379C #874FC1

Accessibility & contrast

On white

11.60
#4A276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A276F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A276F#FFFFFF#000000##FFFFFF
##4A276F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#433647
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a276f;
/* rgb */ color: rgb(74, 39, 111);
/* oklch */ color: oklch(35.7% 0.121 303.2);
Tailwind
colors: {
  custom: {
    50: '#806399',
    500: '#4a276f',
    950: '#000000',
  },
}
SCSS
$custom: #4a276f;
$custom-light: #806399;
$custom-dark: #000000;
JSON
{
  "hex": "#4a276f",
  "rgb": {
    "r": 74,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 269.167,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.12077,
    "h": 303.2
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#4A276F
secondary
#7AA250
accent
#D85096
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4A276F

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

Preview Lab → · Contrast checker → · Palette generator →

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