#4D26CA#4D26CA

#4D26CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.229 H 282.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4D26CA
RGBrgb(77, 38, 202)
HSLhsl(254, 68%, 47%)
HSVhsv(254, 81%, 79%)
CMYKcmyk(61.9%, 81.2%, 0%, 20.8%)
CIE-LABlab(32.32, 58.35, -77.41)
CIE-LCHlch(32.32, 96.94, 307.01°)
OKLaboklab(44.31% 0.0503 -0.2233)
OKLCHoklch(44.31% 0.229 282.7)
XYZxyz(14.4110, 7.2272, 56.5013)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D26CA #A3CA26
analogous
#2651CA #4D26CA #9F26CA
triadic
#4D26CA #CA4D26 #26CA4D
tetradic
#4D26CA #CA2651 #A3CA26 #26CA9F
square
#4D26CA #CA2651 #A3CA26 #26CA9F
split-complementary
#4D26CA #CA9F26 #51CA26
monochromatic
#261363 #391C96 #4D26CA #714FDE #9B83E8

Accessibility & contrast

On white

8.59
#4D26CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4D26CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D26CA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D26CA#FFFFFF#000000##FFFFFF
##4D26CA1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d26ca;
/* rgb */ color: rgb(77, 38, 202);
/* oklch */ color: oklch(44.3% 0.229 282.7);
Tailwind
colors: {
  custom: {
    50: '#8f67dc',
    500: '#4d26ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d26ca;
$custom-light: #8f67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d26ca",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 254.268,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.22886,
    "h": 282.7
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#4D26CA
secondary
#BCD17B
accent
#EB3DC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4D26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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