#4125BD#4125BD

#4125BD is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.217 H 279.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4125BD
RGBrgb(65, 37, 189)
HSLhsl(251, 67%, 44%)
HSVhsv(251, 80%, 74%)
CMYKcmyk(65.6%, 80.4%, 0%, 25.9%)
CIE-LABlab(29.71, 53.96, -74.12)
CIE-LCHlch(29.71, 91.68, 306.06°)
OKLaboklab(41.83% 0.0371 -0.214)
OKLCHoklch(41.83% 0.217 279.8)
XYZxyz(12.0239, 6.1201, 48.6819)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125BD #A1BD25
analogous
#2555BD #4125BD #8D25BD
triadic
#4125BD #BD4125 #25BD41
tetradic
#4125BD #BD2555 #A1BD25 #25BD8D
square
#4125BD #BD2555 #A1BD25 #25BD8D
split-complementary
#4125BD #BD8D25 #55BD25
monochromatic
#1E1157 #2F1B8A #4125BD #6045DB #8C78E5

Accessibility & contrast

On white

9.44
#4125BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4125BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4125BD#FFFFFF#000000##FFFFFF
##4125BD1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4125bd;
/* rgb */ color: rgb(65, 37, 189);
/* oklch */ color: oklch(41.8% 0.217 279.8);
Tailwind
colors: {
  custom: {
    50: '#8765d2',
    500: '#4125bd',
    950: '#000000',
  },
}
SCSS
$custom: #4125bd;
$custom-light: #8765d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4125bd",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 251.053,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.21717,
    "h": 279.8
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#4125BD
secondary
#BBCC72
accent
#EA3ECA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4125BD

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

Preview Lab → · Contrast checker → · Palette generator →

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