#4A269C#4A269C

#4A269C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.177 H 289.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4A269C
RGBrgb(74, 38, 156)
HSLhsl(258, 61%, 38%)
HSVhsv(258, 76%, 61%)
CMYKcmyk(52.6%, 75.6%, 0%, 38.8%)
CIE-LABlab(27.41, 45.05, -58.06)
CIE-LCHlch(27.41, 73.49, 307.81°)
OKLaboklab(39.44% 0.0595 -0.1668)
OKLCHoklch(39.44% 0.177 289.6)
XYZxyz(9.5162, 5.2419, 31.9564)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269C #789C26
analogous
#263D9C #4A269C #85269C
triadic
#4A269C #9C4A26 #269C4A
tetradic
#4A269C #9C263D #789C26 #269C85
square
#4A269C #9C263D #789C26 #269C85
split-complementary
#4A269C #9C8526 #3D9C26
monochromatic
#1B0E3A #331A6B #4A269C #6132CD #8763D9

Accessibility & contrast

On white

10.25
#4A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A269C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269C#FFFFFF#000000##FFFFFF
##4A269C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#2C465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a269c;
/* rgb */ color: rgb(74, 38, 156);
/* oklch */ color: oklch(39.4% 0.177 289.6);
Tailwind
colors: {
  custom: {
    50: '#8564ba',
    500: '#4a269c',
    950: '#000000',
  },
}
SCSS
$custom: #4a269c;
$custom-light: #8564ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269c",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 258.305,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.17713,
    "h": 289.6
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#4A269C
secondary
#A2BF5F
accent
#E444B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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