#6145DC#6145DC

#6145DC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.217 H 284.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6145DC
RGBrgb(97, 69, 220)
HSLhsl(251, 68%, 57%)
HSVhsv(251, 69%, 86%)
CMYKcmyk(55.9%, 68.6%, 0%, 13.7%)
CIE-LABlab(41.16, 50.88, -73.20)
CIE-LCHlch(41.16, 89.15, 304.81°)
OKLaboklab(51.48% 0.0535 -0.2106)
OKLCHoklch(51.48% 0.217 284.2)
XYZxyz(19.9722, 11.9637, 68.9531)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145DC #C0DC45
analogous
#4575DC #6145DC #AD45DC
triadic
#6145DC #DC6145 #45DC61
tetradic
#6145DC #DC4575 #C0DC45 #45DCAD
square
#6145DC #DC4575 #C0DC45 #45DCAD
split-complementary
#6145DC #DCAD45 #75DC45
monochromatic
#2F1A8C #4124C0 #6145DC #8D79E6 #B9ACEF

Accessibility & contrast

On white

6.19
#6145DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6145DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145DC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145DC#FFFFFF#000000##FFFFFF
##6145DC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#246D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6145dc;
/* rgb */ color: rgb(97, 69, 220);
/* oklch */ color: oklch(51.5% 0.217 284.2);
Tailwind
colors: {
  custom: {
    50: '#9a7be8',
    500: '#6145dc',
    950: '#000000',
  },
}
SCSS
$custom: #6145dc;
$custom-light: #9a7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6145dc",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 251.126,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.2173,
    "h": 284.2
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#6145DC
secondary
#D2DDA0
accent
#EB3DCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6145DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6145DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva