#6145DD#6145DD

#6145DD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.218 H 284.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6145DD
RGBrgb(97, 69, 221)
HSLhsl(251, 69%, 57%)
HSVhsv(251, 69%, 87%)
CMYKcmyk(56.1%, 68.8%, 0%, 13.3%)
CIE-LABlab(41.24, 51.18, -73.63)
CIE-LCHlch(41.24, 89.67, 304.80°)
OKLaboklab(51.56% 0.0533 -0.2119)
OKLCHoklch(51.56% 0.218 284.1)
XYZxyz(20.1050, 12.0169, 69.6527)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145DD #C1DD45
analogous
#4575DD #6145DD #AD45DD
triadic
#6145DD #DD6145 #45DD61
tetradic
#6145DD #DD4575 #C1DD45 #45DDAD
square
#6145DD #DD4575 #C1DD45 #45DDAD
split-complementary
#6145DD #DDAD45 #75DD45
monochromatic
#2F1A8E #4023C1 #6145DD #8D79E6 #B9ACF0

Accessibility & contrast

On white

6.17
#6145DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6145DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145DD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145DD#FFFFFF#000000##FFFFFF
##6145DD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#226D8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6145dd;
/* rgb */ color: rgb(97, 69, 221);
/* oklch */ color: oklch(51.6% 0.218 284.1);
Tailwind
colors: {
  custom: {
    50: '#9a7be9',
    500: '#6145dd',
    950: '#000000',
  },
}
SCSS
$custom: #6145dd;
$custom-light: #9a7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6145dd",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 251.053,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.21849,
    "h": 284.1
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#6145DD
secondary
#D2DEA0
accent
#EC3CCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6145DD

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

Preview Lab → · Contrast checker → · Palette generator →

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