#4B25CA#4B25CA

#4B25CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.230 H 282.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4B25CA
RGBrgb(75, 37, 202)
HSLhsl(254, 69%, 47%)
HSVhsv(254, 82%, 79%)
CMYKcmyk(62.9%, 81.7%, 0%, 20.8%)
CIE-LABlab(31.99, 58.57, -77.95)
CIE-LCHlch(31.99, 97.50, 306.92°)
OKLaboklab(44.04% 0.0478 -0.2249)
OKLCHoklch(44.04% 0.23 282)
XYZxyz(14.2205, 7.0822, 56.4833)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B25CA #A4CA25
analogous
#2552CA #4B25CA #9E25CA
triadic
#4B25CA #CA4B25 #25CA4B
tetradic
#4B25CA #CA2552 #A4CA25 #25CA9E
square
#4B25CA #CA2552 #A4CA25 #25CA9E
split-complementary
#4B25CA #CA9E25 #52CA25
monochromatic
#251263 #381C96 #4B25CA #6F4EDF #9981E8

Accessibility & contrast

On white

8.69
#4B25CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B25CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B25CA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B25CA#FFFFFF#000000##FFFFFF
##4B25CA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b25ca;
/* rgb */ color: rgb(75, 37, 202);
/* oklch */ color: oklch(44.0% 0.230 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e67dc',
    500: '#4b25ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b25ca;
$custom-light: #8e67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b25ca",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 253.818,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.22991,
    "h": 282
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#4B25CA
secondary
#BDD17A
accent
#EC3CC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4B25CA

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

Preview Lab → · Contrast checker → · Palette generator →

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