#4F26CA#4F26CA

#4F26CA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.229 H 283.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4F26CA
RGBrgb(79, 38, 202)
HSLhsl(255, 68%, 47%)
HSVhsv(255, 81%, 79%)
CMYKcmyk(60.9%, 81.2%, 0%, 20.8%)
CIE-LABlab(32.51, 58.54, -77.09)
CIE-LCHlch(32.51, 96.80, 307.21°)
OKLaboklab(44.48% 0.0533 -0.2223)
OKLCHoklch(44.48% 0.229 283.5)
XYZxyz(14.5749, 7.3118, 56.5089)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26CA #A1CA26
analogous
#264FCA #4F26CA #A126CA
triadic
#4F26CA #CA4F26 #26CA4F
tetradic
#4F26CA #CA264F #A1CA26 #26CAA1
square
#4F26CA #CA264F #A1CA26 #26CAA1
split-complementary
#4F26CA #CAA126 #4FCA26
monochromatic
#271363 #3B1C96 #4F26CA #734FDE #9C83E8

Accessibility & contrast

On white

8.53
#4F26CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F26CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26CA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26CA#FFFFFF#000000##FFFFFF
##4F26CA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f26ca;
/* rgb */ color: rgb(79, 38, 202);
/* oklch */ color: oklch(44.5% 0.229 283.5);
Tailwind
colors: {
  custom: {
    50: '#9067dc',
    500: '#4f26ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f26ca;
$custom-light: #9067dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26ca",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.22859,
    "h": 283.5
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#4F26CA
secondary
#BBD17B
accent
#EB3DC0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4F26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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