#4F268D#4F268D

#4F268D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.160 H 296.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4F268D
RGBrgb(79, 38, 141)
HSLhsl(264, 58%, 35%)
HSVhsv(264, 73%, 55%)
CMYKcmyk(44%, 73%, 0%, 44.7%)
CIE-LABlab(26.65, 41.69, -50.05)
CIE-LCHlch(26.65, 65.14, 309.79°)
OKLaboklab(38.62% 0.0707 -0.1432)
OKLCHoklch(38.62% 0.16 296.3)
XYZxyz(8.7240, 4.9714, 25.6941)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F268D #648D26
analogous
#26318D #4F268D #82268D
triadic
#4F268D #8D4F26 #268D4F
tetradic
#4F268D #8D2631 #648D26 #268D82
square
#4F268D #8D2631 #648D26 #268D82
split-complementary
#4F268D #8D8226 #318D26
monochromatic
#190C2D #34195D #4F268D #6A33BD #8A5BD3

Accessibility & contrast

On white

10.53
#4F268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F268D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F268D#FFFFFF#000000##FFFFFF
##4F268D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#3F4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f268d;
/* rgb */ color: rgb(79, 38, 141);
/* oklch */ color: oklch(38.6% 0.160 296.3);
Tailwind
colors: {
  custom: {
    50: '#8664af',
    500: '#4f268d',
    950: '#000000',
  },
}
SCSS
$custom: #4f268d;
$custom-light: #8664af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f268d",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 263.883,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.15965,
    "h": 296.3
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#4F268D
secondary
#91B857
accent
#E147A4
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F268D

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

Preview Lab → · Contrast checker → · Palette generator →

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