#4F25CA#4F25CA

#4F25CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.229 H 283.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4F25CA
RGBrgb(79, 37, 202)
HSLhsl(255, 69%, 47%)
HSVhsv(255, 82%, 79%)
CMYKcmyk(60.9%, 81.7%, 0%, 20.8%)
CIE-LABlab(32.37, 58.96, -77.32)
CIE-LCHlch(32.37, 97.24, 307.32°)
OKLaboklab(44.38% 0.0538 -0.2229)
OKLCHoklch(44.38% 0.229 283.6)
XYZxyz(14.5434, 7.2487, 56.4984)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25CA #A0CA25
analogous
#254DCA #4F25CA #A225CA
triadic
#4F25CA #CA4F25 #25CA4F
tetradic
#4F25CA #CA254D #A0CA25 #25CAA2
square
#4F25CA #CA254D #A0CA25 #25CAA2
split-complementary
#4F25CA #CAA225 #4DCA25
monochromatic
#271263 #3B1C96 #4F25CA #734EDF #9C81E8

Accessibility & contrast

On white

8.57
#4F25CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F25CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F25CA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25CA#FFFFFF#000000##FFFFFF
##4F25CA1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f25ca;
/* rgb */ color: rgb(79, 37, 202);
/* oklch */ color: oklch(44.4% 0.229 283.6);
Tailwind
colors: {
  custom: {
    50: '#9067dc',
    500: '#4f25ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f25ca;
$custom-light: #9067dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25ca",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 255.273,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.22935,
    "h": 283.6
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#4F25CA
secondary
#BBD17A
accent
#EC3CBF
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4F25CA

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

Preview Lab → · Contrast checker → · Palette generator →

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