#4A267F#4A267F

#4A267F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.142 H 297.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4A267F
RGBrgb(74, 38, 127)
HSLhsl(264, 54%, 32%)
HSVhsv(264, 70%, 50%)
CMYKcmyk(41.7%, 70.1%, 0%, 50.2%)
CIE-LABlab(24.87, 36.82, -44.22)
CIE-LCHlch(24.87, 57.54, 309.78°)
OKLaboklab(36.85% 0.0657 -0.1262)
OKLCHoklch(36.85% 0.142 297.5)
XYZxyz(7.3469, 4.3743, 20.5318)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A267F #5B7F26
analogous
#262E7F #4A267F #77267F
triadic
#4A267F #7F4A26 #267F4A
tetradic
#4A267F #7F262E #5B7F26 #267F77
square
#4A267F #7F262E #5B7F26 #267F77
split-complementary
#4A267F #7F7726 #2E7F26
monochromatic
#130A21 #2F1850 #4A267F #6534AE #8454CC

Accessibility & contrast

On white

11.20
#4A267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4A267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A267F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A267F#FFFFFF#000000##FFFFFF
##4A267F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#3D3B4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a267f;
/* rgb */ color: rgb(74, 38, 127);
/* oklch */ color: oklch(36.8% 0.142 297.5);
Tailwind
colors: {
  custom: {
    50: '#8163a5',
    500: '#4a267f',
    950: '#000000',
  },
}
SCSS
$custom: #4a267f;
$custom-light: #8163a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a267f",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 264.27,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.14226,
    "h": 297.5
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#4A267F
secondary
#8AB051
accent
#DD4AA2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4A267F

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

Preview Lab → · Contrast checker → · Palette generator →

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