#6440CA#6440CA

#6440CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.201 H 288.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6440CA
RGBrgb(100, 64, 202)
HSLhsl(256, 57%, 52%)
HSVhsv(256, 68%, 79%)
CMYKcmyk(50.5%, 68.3%, 0%, 20.8%)
CIE-LABlab(38.97, 48.85, -66.40)
CIE-LCHlch(38.97, 82.44, 306.34°)
OKLaboklab(49.51% 0.0649 -0.1906)
OKLCHoklch(49.51% 0.201 288.8)
XYZxyz(17.7465, 10.6396, 56.9842)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440CA #A6CA40
analogous
#4061CA #6440CA #A940CA
triadic
#6440CA #CA6440 #40CA64
tetradic
#6440CA #CA4061 #A6CA40 #40CAA9
square
#6440CA #CA4061 #A6CA40 #40CAA9
split-complementary
#6440CA #CAA940 #61CA40
monochromatic
#341F70 #4B2CA0 #6440CA #8B70D7 #B2A0E5

Accessibility & contrast

On white

6.71
#6440CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6440CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440CA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440CA#FFFFFF#000000##FFFFFF
##6440CA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#3F6380
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6440ca;
/* rgb */ color: rgb(100, 64, 202);
/* oklch */ color: oklch(49.5% 0.201 288.8);
Tailwind
colors: {
  custom: {
    50: '#9977db',
    500: '#6440ca',
    950: '#000000',
  },
}
SCSS
$custom: #6440ca;
$custom-light: #9977db;
$custom-dark: #000000;
JSON
{
  "hex": "#6440ca",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 255.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.20133,
    "h": 288.8
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#6440CA
secondary
#C1D195
accent
#E048B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6440CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva