#4125AA#4125AA

#4125AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.195 H 282.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4125AA
RGBrgb(65, 37, 170)
HSLhsl(253, 64%, 41%)
HSVhsv(253, 78%, 67%)
CMYKcmyk(61.8%, 78.2%, 0%, 33.3%)
CIE-LABlab(27.71, 48.40, -66.10)
CIE-LCHlch(27.71, 81.93, 306.21°)
OKLaboklab(39.84% 0.0427 -0.1906)
OKLCHoklch(39.84% 0.195 282.6)
XYZxyz(10.0950, 5.3485, 38.5228)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125AA #8EAA25
analogous
#254BAA #4125AA #8425AA
triadic
#4125AA #AA4125 #25AA41
tetradic
#4125AA #AA254B #8EAA25 #25AA84
square
#4125AA #AA254B #8EAA25 #25AA84
split-complementary
#4125AA #AA8425 #4BAA25
monochromatic
#1B0F45 #2E1A78 #4125AA #5938D4 #836BDF

Accessibility & contrast

On white

10.15
#4125AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4125AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4125AA#FFFFFF#000000##FFFFFF
##4125AA1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4125aa;
/* rgb */ color: rgb(65, 37, 170);
/* oklch */ color: oklch(39.8% 0.195 282.6);
Tailwind
colors: {
  custom: {
    50: '#8364c5',
    500: '#4125aa',
    950: '#000000',
  },
}
SCSS
$custom: #4125aa;
$custom-light: #8364c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4125aa",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 252.632,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.19535,
    "h": 282.6
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#4125AA
secondary
#B1C566
accent
#E741C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4125AA

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

Preview Lab → · Contrast checker → · Palette generator →

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