#4F268C#4F268C

#4F268C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.158 H 296.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4F268C
RGBrgb(79, 38, 140)
HSLhsl(264, 57%, 35%)
HSVhsv(264, 73%, 55%)
CMYKcmyk(43.6%, 72.9%, 0%, 45.1%)
CIE-LABlab(26.57, 41.42, -49.57)
CIE-LCHlch(26.57, 64.60, 309.88°)
OKLaboklab(38.54% 0.0709 -0.1417)
OKLCHoklch(38.54% 0.158 296.6)
XYZxyz(8.6499, 4.9418, 25.3040)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F268C #638C26
analogous
#26308C #4F268C #82268C
triadic
#4F268C #8C4F26 #268C4F
tetradic
#4F268C #8C2630 #638C26 #268C82
square
#4F268C #8C2630 #638C26 #268C82
split-complementary
#4F268C #8C8226 #308C26
monochromatic
#190C2C #34195C #4F268C #6A33BC #8A5AD2

Accessibility & contrast

On white

10.56
#4F268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F268C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F268C#FFFFFF#000000##FFFFFF
##4F268C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#3F4056
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f268c;
/* rgb */ color: rgb(79, 38, 140);
/* oklch */ color: oklch(38.5% 0.158 296.6);
Tailwind
colors: {
  custom: {
    50: '#8664ae',
    500: '#4f268c',
    950: '#000000',
  },
}
SCSS
$custom: #4f268c;
$custom-light: #8664ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f268c",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 264.118,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.15848,
    "h": 296.6
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#4F268C
secondary
#90B757
accent
#E147A3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F268C

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

Preview Lab → · Contrast checker → · Palette generator →

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