#4F26B3#4F26B3

#4F26B3 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.203 H 287.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4F26B3
RGBrgb(79, 38, 179)
HSLhsl(257, 65%, 43%)
HSVhsv(257, 79%, 70%)
CMYKcmyk(55.9%, 78.8%, 0%, 29.8%)
CIE-LABlab(30.16, 52.21, -67.39)
CIE-LCHlch(30.16, 85.25, 307.77°)
OKLaboklab(42.16% 0.0606 -0.194)
OKLCHoklch(42.16% 0.203 287.3)
XYZxyz(12.0518, 6.3025, 43.2205)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26B3 #8AB326
analogous
#2643B3 #4F26B3 #9626B3
triadic
#4F26B3 #B34F26 #26B34F
tetradic
#4F26B3 #B32643 #8AB326 #26B396
square
#4F26B3 #B32643 #8AB326 #26B396
split-complementary
#4F26B3 #B39626 #43B326
monochromatic
#22114E #391B81 #4F26B3 #6C40D6 #9372E1

Accessibility & contrast

On white

9.29
#4F26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4F26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26B3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26B3#FFFFFF#000000##FFFFFF
##4F26B31.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#224F6C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f26b3;
/* rgb */ color: rgb(79, 38, 179);
/* oklch */ color: oklch(42.2% 0.203 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c66cb',
    500: '#4f26b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f26b3;
$custom-light: #8c66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26b3",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 257.447,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.20324,
    "h": 287.3
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#4F26B3
secondary
#AEC86D
accent
#E840B7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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