#4F27CA#4F27CA

#4F27CA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.228 H 283.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4F27CA
RGBrgb(79, 39, 202)
HSLhsl(255, 68%, 47%)
HSVhsv(255, 81%, 79%)
CMYKcmyk(60.9%, 80.7%, 0%, 20.8%)
CIE-LABlab(32.65, 58.13, -76.86)
CIE-LCHlch(32.65, 96.36, 307.10°)
OKLaboklab(44.58% 0.0528 -0.2216)
OKLCHoklch(44.58% 0.228 283.4)
XYZxyz(14.6073, 7.3766, 56.5197)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F27CA #A2CA27
analogous
#2750CA #4F27CA #A127CA
triadic
#4F27CA #CA4F27 #27CA4F
tetradic
#4F27CA #CA2750 #A2CA27 #27CAA1
square
#4F27CA #CA2750 #A2CA27 #27CAA1
split-complementary
#4F27CA #CAA127 #50CA27
monochromatic
#271363 #3B1D97 #4F27CA #7351DD #9C84E7

Accessibility & contrast

On white

8.48
#4F27CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F27CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F27CA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F27CA#FFFFFF#000000##FFFFFF
##4F27CA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f27ca;
/* rgb */ color: rgb(79, 39, 202);
/* oklch */ color: oklch(44.6% 0.228 283.4);
Tailwind
colors: {
  custom: {
    50: '#9068dc',
    500: '#4f27ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f27ca;
$custom-light: #9068dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f27ca",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 254.724,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.22781,
    "h": 283.4
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#4F27CA
secondary
#BCD07C
accent
#EB3DC0
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4F27CA

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

Preview Lab → · Contrast checker → · Palette generator →

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