#4125B0#4125B0

#4125B0 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.202 H 281.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4125B0
RGBrgb(65, 37, 176)
HSLhsl(252, 65%, 42%)
HSVhsv(252, 79%, 69%)
CMYKcmyk(63.1%, 79%, 0%, 31%)
CIE-LABlab(28.33, 50.17, -68.67)
CIE-LCHlch(28.33, 85.05, 306.15°)
OKLaboklab(40.46% 0.0409 -0.1981)
OKLCHoklch(40.46% 0.202 281.7)
XYZxyz(10.6756, 5.5808, 41.5805)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125B0 #94B025
analogous
#254FB0 #4125B0 #8725B0
triadic
#4125B0 #B04125 #25B041
tetradic
#4125B0 #B0254F #94B025 #25B087
square
#4125B0 #B0254F #94B025 #25B087
split-complementary
#4125B0 #B08725 #4FB025
monochromatic
#1C104B #2E1A7D #4125B0 #5B3CD6 #866FE1

Accessibility & contrast

On white

9.92
#4125B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4125B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4125B0#FFFFFF#000000##FFFFFF
##4125B01.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4125b0;
/* rgb */ color: rgb(65, 37, 176);
/* oklch */ color: oklch(40.5% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#8464c9',
    500: '#4125b0',
    950: '#000000',
  },
}
SCSS
$custom: #4125b0;
$custom-light: #8464c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4125b0",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 252.086,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.20231,
    "h": 281.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#4125B0
secondary
#B4C76A
accent
#E840C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4125B0

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

Preview Lab → · Contrast checker → · Palette generator →

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