#4025C6#4025C6

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

Color values

HEX#4025C6
RGBrgb(64, 37, 198)
HSLhsl(250, 69%, 46%)
HSVhsv(250, 81%, 78%)
CMYKcmyk(67.7%, 81.3%, 0%, 22.4%)
CIE-LABlab(30.61, 56.46, -77.92)
CIE-LCHlch(30.61, 96.23, 305.93°)
OKLaboklab(42.72% 0.0329 -0.2251)
OKLCHoklch(42.72% 0.227 278.3)
XYZxyz(12.9657, 6.4892, 53.9844)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4025C6 #ABC625
analogous
#255AC6 #4025C6 #9025C6
triadic
#4025C6 #C64025 #25C640
tetradic
#4025C6 #C6255A #ABC625 #25C690
square
#4025C6 #C6255A #ABC625 #25C690
split-complementary
#4025C6 #C69025 #5AC625
monochromatic
#1F125F #2F1B92 #4025C6 #634BDD #907EE7

Accessibility & contrast

On white

9.14
#4025C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4025C6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4025C6#FFFFFF#000000##FFFFFF
##4025C61.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4025c6;
/* rgb */ color: rgb(64, 37, 198);
/* oklch */ color: oklch(42.7% 0.227 278.3);
Tailwind
colors: {
  custom: {
    50: '#8865d9',
    500: '#4025c6',
    950: '#000000',
  },
}
SCSS
$custom: #4025c6;
$custom-light: #8865d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4025c6",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 250.062,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.22748,
    "h": 278.3
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#4025C6
secondary
#C1CF77
accent
#EB3CCE
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4025C6

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

Preview Lab → · Contrast checker → · Palette generator →

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