#4C26AF#4C26AF

#4C26AF is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.199 H 286.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4C26AF
RGBrgb(76, 38, 175)
HSLhsl(257, 64%, 42%)
HSVhsv(257, 78%, 69%)
CMYKcmyk(56.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.46, 50.72, -66.18)
CIE-LCHlch(29.46, 83.38, 307.46°)
OKLaboklab(41.47% 0.0572 -0.1905)
OKLCHoklch(41.47% 0.199 286.7)
XYZxyz(11.4091, 6.0172, 41.1094)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AF #89AF26
analogous
#2645AF #4C26AF #9126AF
triadic
#4C26AF #AF4C26 #26AF4C
tetradic
#4C26AF #AF2645 #89AF26 #26AF91
square
#4C26AF #AF2645 #89AF26 #26AF91
split-complementary
#4C26AF #AF9126 #45AF26
monochromatic
#20104A #361B7D #4C26AF #673DD5 #8F70E0

Accessibility & contrast

On white

9.53
#4C26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26AF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AF#FFFFFF#000000##FFFFFF
##4C26AF1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#1D4E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c26af;
/* rgb */ color: rgb(76, 38, 175);
/* oklch */ color: oklch(41.5% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a65c8',
    500: '#4c26af',
    950: '#000000',
  },
}
SCSS
$custom: #4c26af;
$custom-light: #8a65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26af",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 256.642,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.19895,
    "h": 286.7
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#4C26AF
secondary
#ADC76A
accent
#E740B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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