#6045DA#6045DA

#6045DA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.215 H 284.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6045DA
RGBrgb(96, 69, 218)
HSLhsl(251, 67%, 56%)
HSVhsv(251, 68%, 85%)
CMYKcmyk(56%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.90, 50.14, -72.48)
CIE-LCHlch(40.90, 88.13, 304.68°)
OKLaboklab(51.22% 0.0525 -0.2085)
OKLCHoklch(51.22% 0.215 284.1)
XYZxyz(19.6030, 11.8038, 67.5615)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045DA #BFDA45
analogous
#4575DA #6045DA #AA45DA
triadic
#6045DA #DA6045 #45DA60
tetradic
#6045DA #DA4575 #BFDA45 #45DAAA
square
#6045DA #DA4575 #BFDA45 #45DAAA
split-complementary
#6045DA #DAAA45 #75DA45
monochromatic
#2F1B89 #4125BC #6045DA #8C78E4 #B7ABEE

Accessibility & contrast

On white

6.25
#6045DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6045DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045DA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045DA#FFFFFF#000000##FFFFFF
##6045DA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#236C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6045da;
/* rgb */ color: rgb(96, 69, 218);
/* oklch */ color: oklch(51.2% 0.215 284.1);
Tailwind
colors: {
  custom: {
    50: '#997be7',
    500: '#6045da',
    950: '#000000',
  },
}
SCSS
$custom: #6045da;
$custom-light: #997be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6045da",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 250.872,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.21503,
    "h": 284.1
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#6045DA
secondary
#D1DC9F
accent
#EA3ECB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6045DA

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

Preview Lab → · Contrast checker → · Palette generator →

#6045DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva