#4F26A7#4F26A7

#4F26A7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.190 H 289.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4F26A7
RGBrgb(79, 38, 167)
HSLhsl(259, 63%, 40%)
HSVhsv(259, 77%, 65%)
CMYKcmyk(52.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(29.00, 48.89, -62.11)
CIE-LCHlch(29.00, 79.04, 308.21°)
OKLaboklab(41% 0.0642 -0.1785)
OKLCHoklch(41% 0.19 289.8)
XYZxyz(10.8906, 5.8380, 37.1047)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26A7 #7EA726
analogous
#263DA7 #4F26A7 #9026A7
triadic
#4F26A7 #A74F26 #26A74F
tetradic
#4F26A7 #A7263D #7EA726 #26A790
square
#4F26A7 #A7263D #7EA726 #26A790
split-complementary
#4F26A7 #A79026 #3DA726
monochromatic
#200F43 #371B75 #4F26A7 #6938D2 #8F6ADD

Accessibility & contrast

On white

9.69
#4F26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F26A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26A7
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26A7#FFFFFF#000000##FFFFFF
##4F26A71.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#2E4A65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f26a7;
/* rgb */ color: rgb(79, 38, 167);
/* oklch */ color: oklch(41.0% 0.190 289.8);
Tailwind
colors: {
  custom: {
    50: '#8a65c2',
    500: '#4f26a7',
    950: '#000000',
  },
}
SCSS
$custom: #4f26a7;
$custom-light: #8a65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26a7",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 259.07,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.18972,
    "h": 289.8
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#4F26A7
secondary
#A6C365
accent
#E642B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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