#4125A5#4125A5

#4125A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.189 H 283.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4125A5
RGBrgb(65, 37, 165)
HSLhsl(253, 63%, 40%)
HSVhsv(253, 78%, 65%)
CMYKcmyk(60.6%, 77.6%, 0%, 35.3%)
CIE-LABlab(27.19, 46.92, -63.93)
CIE-LCHlch(27.19, 79.30, 306.28°)
OKLaboklab(39.33% 0.0441 -0.1843)
OKLCHoklch(39.33% 0.189 283.5)
XYZxyz(9.6310, 5.1629, 36.0791)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125A5 #89A525
analogous
#2549A5 #4125A5 #8125A5
triadic
#4125A5 #A54125 #25A541
tetradic
#4125A5 #A52549 #89A525 #25A581
square
#4125A5 #A52549 #89A525 #25A581
split-complementary
#4125A5 #A58125 #49A525
monochromatic
#1A0F41 #2D1A73 #4125A5 #5835D2 #8167DD

Accessibility & contrast

On white

10.33
#4125A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4125A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125A5
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125A5#FFFFFF#000000##FFFFFF
##4125A51.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4125a5;
/* rgb */ color: rgb(65, 37, 165);
/* oklch */ color: oklch(39.3% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#8263c1',
    500: '#4125a5',
    950: '#000000',
  },
}
SCSS
$custom: #4125a5;
$custom-light: #8263c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4125a5",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 253.125,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.18948,
    "h": 283.5
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#4125A5
secondary
#AEC363
accent
#E641C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4125A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4125A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva