#4125A2#4125A2

#4125A2 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.186 H 284.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4125A2
RGBrgb(65, 37, 162)
HSLhsl(253, 63%, 39%)
HSVhsv(253, 77%, 64%)
CMYKcmyk(59.9%, 77.2%, 0%, 36.5%)
CIE-LABlab(26.89, 46.03, -62.61)
CIE-LCHlch(26.89, 77.71, 306.32°)
OKLaboklab(39.03% 0.0449 -0.1804)
OKLCHoklch(39.03% 0.186 284)
XYZxyz(9.3611, 5.0550, 34.6578)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125A2 #86A225
analogous
#2548A2 #4125A2 #8025A2
triadic
#4125A2 #A24125 #25A241
tetradic
#4125A2 #A22548 #86A225 #25A280
square
#4125A2 #A22548 #86A225 #25A280
split-complementary
#4125A2 #A28025 #48A225
monochromatic
#190E3E #2D1A70 #4125A2 #5734D1 #8065DC

Accessibility & contrast

On white

10.44
#4125A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4125A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4125A2#FFFFFF#000000##FFFFFF
##4125A21.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#014962
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4125a2;
/* rgb */ color: rgb(65, 37, 162);
/* oklch */ color: oklch(39.0% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#8263bf',
    500: '#4125a2',
    950: '#000000',
  },
}
SCSS
$custom: #4125a2;
$custom-light: #8263bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4125a2",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 253.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.18594,
    "h": 284
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#4125A2
secondary
#ACC261
accent
#E642C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4125A2

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

Preview Lab → · Contrast checker → · Palette generator →

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