#4125AB#4125AB

#4125AB is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.197 H 282.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4125AB
RGBrgb(65, 37, 171)
HSLhsl(253, 64%, 41%)
HSVhsv(253, 78%, 67%)
CMYKcmyk(62%, 78.4%, 0%, 32.9%)
CIE-LABlab(27.81, 48.70, -66.53)
CIE-LCHlch(27.81, 82.45, 306.20°)
OKLaboklab(39.95% 0.0424 -0.1919)
OKLCHoklch(39.95% 0.197 282.5)
XYZxyz(10.1899, 5.3865, 39.0229)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125AB #8FAB25
analogous
#254CAB #4125AB #8425AB
triadic
#4125AB #AB4125 #25AB41
tetradic
#4125AB #AB254C #8FAB25 #25AB84
square
#4125AB #AB254C #8FAB25 #25AB84
split-complementary
#4125AB #AB8425 #4CAB25
monochromatic
#1B0F46 #2E1A79 #4125AB #5939D4 #846BDF

Accessibility & contrast

On white

10.11
#4125AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4125AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4125AB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4125AB#FFFFFF#000000##FFFFFF
##4125AB1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4125ab;
/* rgb */ color: rgb(65, 37, 171);
/* oklch */ color: oklch(39.9% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#8364c5',
    500: '#4125ab',
    950: '#000000',
  },
}
SCSS
$custom: #4125ab;
$custom-light: #8364c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4125ab",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 252.537,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.19651,
    "h": 282.5
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#4125AB
secondary
#B1C567
accent
#E740C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4125AB

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

Preview Lab → · Contrast checker → · Palette generator →

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