#4F269C#4F269C

#4F269C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.177 H 292.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4F269C
RGBrgb(79, 38, 156)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 76%, 61%)
CMYKcmyk(49.4%, 75.6%, 0%, 38.8%)
CIE-LABlab(27.98, 45.83, -57.12)
CIE-LCHlch(27.98, 73.23, 308.75°)
OKLaboklab(39.97% 0.0672 -0.1639)
OKLCHoklch(39.97% 0.177 292.3)
XYZxyz(9.9166, 5.4484, 31.9752)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F269C #739C26
analogous
#26389C #4F269C #8A269C
triadic
#4F269C #9C4F26 #269C4F
tetradic
#4F269C #9C2638 #739C26 #269C8A
square
#4F269C #9C2638 #739C26 #269C8A
split-complementary
#4F269C #9C8A26 #389C26
monochromatic
#1D0E3A #361A6B #4F269C #6832CD #8C63D9

Accessibility & contrast

On white

10.05
#4F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F269C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F269C#FFFFFF#000000##FFFFFF
##4F269C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#36465F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f269c;
/* rgb */ color: rgb(79, 38, 156);
/* oklch */ color: oklch(40.0% 0.177 292.3);
Tailwind
colors: {
  custom: {
    50: '#8865ba',
    500: '#4f269c',
    950: '#000000',
  },
}
SCSS
$custom: #4f269c;
$custom-light: #8865ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f269c",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 260.847,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.17712,
    "h": 292.3
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#4F269C
secondary
#9DBF5F
accent
#E444AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F269C

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

Preview Lab → · Contrast checker → · Palette generator →

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