#4F26AF#4F26AF

#4F26AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.199 H 288.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4F26AF
RGBrgb(79, 38, 175)
HSLhsl(258, 64%, 42%)
HSVhsv(258, 78%, 69%)
CMYKcmyk(54.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.77, 51.11, -65.65)
CIE-LCHlch(29.77, 83.20, 307.90°)
OKLaboklab(41.77% 0.0618 -0.1889)
OKLCHoklch(41.77% 0.199 288.1)
XYZxyz(11.6531, 6.1430, 41.1208)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F26AF #86AF26
analogous
#2642AF #4F26AF #9426AF
triadic
#4F26AF #AF4F26 #26AF4F
tetradic
#4F26AF #AF2642 #86AF26 #26AF94
square
#4F26AF #AF2642 #86AF26 #26AF94
split-complementary
#4F26AF #AF9426 #42AF26
monochromatic
#22104A #381B7D #4F26AF #6B3DD5 #9170E0

Accessibility & contrast

On white

9.42
#4F26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4F26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F26AF
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F26AF#FFFFFF#000000##FFFFFF
##4F26AF1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#274D6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f26af;
/* rgb */ color: rgb(79, 38, 175);
/* oklch */ color: oklch(41.8% 0.199 288.1);
Tailwind
colors: {
  custom: {
    50: '#8b66c8',
    500: '#4f26af',
    950: '#000000',
  },
}
SCSS
$custom: #4f26af;
$custom-light: #8b66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f26af",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 257.956,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.19875,
    "h": 288.1
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#4F26AF
secondary
#ABC76A
accent
#E740B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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