#6145DB#6145DB

#6145DB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.216 H 284.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6145DB
RGBrgb(97, 69, 219)
HSLhsl(251, 68%, 56%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.7%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.07, 50.59, -72.77)
CIE-LCHlch(41.07, 88.63, 304.81°)
OKLaboklab(51.39% 0.0536 -0.2093)
OKLCHoklch(51.39% 0.216 284.4)
XYZxyz(19.8402, 11.9109, 68.2577)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145DB #BFDB45
analogous
#4574DB #6145DB #AC45DB
triadic
#6145DB #DB6145 #45DB61
tetradic
#6145DB #DB4574 #BFDB45 #45DBAC
square
#6145DB #DB4574 #BFDB45 #45DBAC
split-complementary
#6145DB #DBAC45 #74DB45
monochromatic
#301B8B #4125BE #6145DB #8D78E5 #B8ACEF

Accessibility & contrast

On white

6.21
#6145DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6145DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145DB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145DB#FFFFFF#000000##FFFFFF
##6145DB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#256C8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6145db;
/* rgb */ color: rgb(97, 69, 219);
/* oklch */ color: oklch(51.4% 0.216 284.4);
Tailwind
colors: {
  custom: {
    50: '#9a7be7',
    500: '#6145db',
    950: '#000000',
  },
}
SCSS
$custom: #6145db;
$custom-light: #9a7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6145db",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 251.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.2161,
    "h": 284.4
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#6145DB
secondary
#D1DD9F
accent
#EA3DCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6145DB

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

Preview Lab → · Contrast checker → · Palette generator →

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