#4125C6#4125C6

#4125C6 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.227 H 278.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4125C6
RGBrgb(65, 37, 198)
HSLhsl(250, 69%, 46%)
HSVhsv(250, 81%, 78%)
CMYKcmyk(67.2%, 81.3%, 0%, 22.4%)
CIE-LABlab(30.70, 56.55, -77.79)
CIE-LCHlch(30.70, 96.17, 306.02°)
OKLaboklab(42.8% 0.0344 -0.2247)
OKLCHoklch(42.8% 0.227 278.7)
XYZxyz(13.0313, 6.5231, 53.9875)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4125C6 #AAC625
analogous
#2559C6 #4125C6 #9125C6
triadic
#4125C6 #C64125 #25C641
tetradic
#4125C6 #C62559 #AAC625 #25C691
square
#4125C6 #C62559 #AAC625 #25C691
split-complementary
#4125C6 #C69125 #59C625
monochromatic
#1F125F #301B92 #4125C6 #644BDD #917EE7

Accessibility & contrast

On white

9.11
#4125C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4125C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4125C6#FFFFFF#000000##FFFFFF
##4125C61.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#0042C3
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4125c6;
/* rgb */ color: rgb(65, 37, 198);
/* oklch */ color: oklch(42.8% 0.227 278.7);
Tailwind
colors: {
  custom: {
    50: '#8966d9',
    500: '#4125c6',
    950: '#000000',
  },
}
SCSS
$custom: #4125c6;
$custom-light: #8966d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4125c6",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 250.435,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.428,
    "c": 0.22727,
    "h": 278.7
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#4125C6
secondary
#C0CF77
accent
#EB3CCD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4125C6

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

Preview Lab → · Contrast checker → · Palette generator →

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