#4A25BE#4A25BE

#4A25BE is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.217 H 283.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4A25BE
RGBrgb(74, 37, 190)
HSLhsl(255, 67%, 45%)
HSVhsv(255, 81%, 75%)
CMYKcmyk(61.1%, 80.5%, 0%, 25.5%)
CIE-LABlab(30.63, 55.14, -73.16)
CIE-LCHlch(30.63, 91.62, 307.00°)
OKLaboklab(42.7% 0.0502 -0.211)
OKLCHoklch(42.7% 0.217 283.4)
XYZxyz(12.7770, 6.4958, 49.2857)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25BE #99BE25
analogous
#254CBE #4A25BE #9725BE
triadic
#4A25BE #BE4A25 #25BE4A
tetradic
#4A25BE #BE254C #99BE25 #25BE97
square
#4A25BE #BE254C #99BE25 #25BE97
split-complementary
#4A25BE #BE9725 #4CBE25
monochromatic
#221158 #361B8B #4A25BE #6A45DB #9379E5

Accessibility & contrast

On white

9.13
#4A25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25BE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25BE#FFFFFF#000000##FFFFFF
##4A25BE1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC2
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a25be;
/* rgb */ color: rgb(74, 37, 190);
/* oklch */ color: oklch(42.7% 0.217 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b66d3',
    500: '#4a25be',
    950: '#000000',
  },
}
SCSS
$custom: #4a25be;
$custom-light: #8b66d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25be",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 254.51,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.21685,
    "h": 283.4
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#4A25BE
secondary
#B7CD72
accent
#EA3EC1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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