#4A268F#4A268F

#4A268F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.162 H 292.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4A268F
RGBrgb(74, 38, 143)
HSLhsl(261, 58%, 35%)
HSVhsv(261, 73%, 56%)
CMYKcmyk(48.3%, 73.4%, 0%, 43.9%)
CIE-LABlab(26.23, 41.34, -52.01)
CIE-LCHlch(26.23, 66.43, 308.48°)
OKLaboklab(38.24% 0.0626 -0.1491)
OKLCHoklch(38.24% 0.162 292.8)
XYZxyz(8.4737, 4.8250, 26.4661)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A268F #6B8F26
analogous
#26378F #4A268F #7E268F
triadic
#4A268F #8F4A26 #268F4A
tetradic
#4A268F #8F2637 #6B8F26 #268F7E
square
#4A268F #8F2637 #6B8F26 #268F7E
split-complementary
#4A268F #8F7E26 #378F26
monochromatic
#180C2E #31195F #4A268F #6333BF #855CD4

Accessibility & contrast

On white

10.69
#4A268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A268F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A268F#FFFFFF#000000##FFFFFF
##4A268F1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#354158
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a268f;
/* rgb */ color: rgb(74, 38, 143);
/* oklch */ color: oklch(38.2% 0.162 292.8);
Tailwind
colors: {
  custom: {
    50: '#8364b1',
    500: '#4a268f',
    950: '#000000',
  },
}
SCSS
$custom: #4a268f;
$custom-light: #8364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a268f",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 260.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.16171,
    "h": 292.8
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#4A268F
secondary
#98B958
accent
#E147AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #4A268F

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

Preview Lab → · Contrast checker → · Palette generator →

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