#4C268F#4C268F

#4C268F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.162 H 294.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4C268F
RGBrgb(76, 38, 143)
HSLhsl(262, 58%, 35%)
HSVhsv(262, 73%, 56%)
CMYKcmyk(46.9%, 73.4%, 0%, 43.9%)
CIE-LABlab(26.46, 41.70, -51.61)
CIE-LCHlch(26.46, 66.35, 308.93°)
OKLaboklab(38.46% 0.0657 -0.1479)
OKLCHoklch(38.46% 0.162 294)
XYZxyz(8.6302, 4.9056, 26.4734)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C268F #698F26
analogous
#26358F #4C268F #80268F
triadic
#4C268F #8F4C26 #268F4C
tetradic
#4C268F #8F2635 #698F26 #268F80
square
#4C268F #8F2635 #698F26 #268F80
split-complementary
#4C268F #8F8026 #358F26
monochromatic
#190C2E #32195F #4C268F #6633BF #875CD4

Accessibility & contrast

On white

10.60
#4C268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4C268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C268F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C268F#FFFFFF#000000##FFFFFF
##4C268F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#384158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c268f;
/* rgb */ color: rgb(76, 38, 143);
/* oklch */ color: oklch(38.5% 0.162 294.0);
Tailwind
colors: {
  custom: {
    50: '#8564b1',
    500: '#4c268f',
    950: '#000000',
  },
}
SCSS
$custom: #4c268f;
$custom-light: #8564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c268f",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 261.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.16179,
    "h": 294
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#4C268F
secondary
#96B958
accent
#E147A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C268F

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

Preview Lab → · Contrast checker → · Palette generator →

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