#4C25BE#4C25BE

#4C25BE is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.217 H 284.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4C25BE
RGBrgb(76, 37, 190)
HSLhsl(255, 67%, 45%)
HSVhsv(255, 81%, 75%)
CMYKcmyk(60%, 80.5%, 0%, 25.5%)
CIE-LABlab(30.82, 55.35, -72.84)
CIE-LCHlch(30.82, 91.49, 307.23°)
OKLaboklab(42.88% 0.0532 -0.21)
OKLCHoklch(42.88% 0.217 284.2)
XYZxyz(12.9335, 6.5765, 49.2931)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C25BE #97BE25
analogous
#254BBE #4C25BE #9925BE
triadic
#4C25BE #BE4C25 #25BE4C
tetradic
#4C25BE #BE254B #97BE25 #25BE99
square
#4C25BE #BE254B #97BE25 #25BE99
split-complementary
#4C25BE #BE9925 #4BBE25
monochromatic
#231158 #381B8B #4C25BE #6B45DB #9479E5

Accessibility & contrast

On white

9.07
#4C25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4C25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C25BE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C25BE#FFFFFF#000000##FFFFFF
##4C25BE1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC2
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005372
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4c25be;
/* rgb */ color: rgb(76, 37, 190);
/* oklch */ color: oklch(42.9% 0.217 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c66d3',
    500: '#4c25be',
    950: '#000000',
  },
}
SCSS
$custom: #4c25be;
$custom-light: #8c66d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c25be",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 255.294,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.2166,
    "h": 284.2
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#4C25BE
secondary
#B6CD72
accent
#EA3EBE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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