#4125AC#4125AC

#4125AC is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.198 H 282.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4125AC
RGBrgb(65, 37, 172)
HSLhsl(252, 65%, 41%)
HSVhsv(252, 78%, 67%)
CMYKcmyk(62.2%, 78.5%, 0%, 32.5%)
CIE-LABlab(27.91, 48.99, -66.96)
CIE-LCHlch(27.91, 82.97, 306.19°)
OKLaboklab(40.05% 0.0421 -0.1931)
OKLCHoklch(40.05% 0.198 282.3)
XYZxyz(10.2856, 5.4248, 39.5268)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125AC #90AC25
analogous
#254DAC #4125AC #8425AC
triadic
#4125AC #AC4125 #25AC41
tetradic
#4125AC #AC254D #90AC25 #25AC84
square
#4125AC #AC254D #90AC25 #25AC84
split-complementary
#4125AC #AC8425 #4DAC25
monochromatic
#1B0F47 #2E1A7A #4125AC #5A3AD5 #846CDF

Accessibility & contrast

On white

10.07
#4125AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4125AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125AC
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125AC#FFFFFF#000000##FFFFFF
##4125AC1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4125ac;
/* rgb */ color: rgb(65, 37, 172);
/* oklch */ color: oklch(40.0% 0.198 282.3);
Tailwind
colors: {
  custom: {
    50: '#8464c6',
    500: '#4125ac',
    950: '#000000',
  },
}
SCSS
$custom: #4125ac;
$custom-light: #8464c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4125ac",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 252.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.19767,
    "h": 282.3
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#4125AC
secondary
#B2C667
accent
#E840C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4125AC

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

Preview Lab → · Contrast checker → · Palette generator →

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