#6314B1#6314B1

#6314B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.7% C 0.215 H 298.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#6314B1
RGBrgb(99, 20, 177)
HSLhsl(270, 80%, 39%)
HSVhsv(270, 89%, 69%)
CMYKcmyk(44.1%, 88.7%, 0%, 30.6%)
CIE-LABlab(30.22, 60.54, -66.01)
CIE-LCHlch(30.22, 89.57, 312.52°)
OKLaboklab(42.68% 0.1032 -0.1891)
OKLCHoklch(42.68% 0.215 298.6)
XYZxyz(13.3295, 6.3271, 42.1054)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6314B1 #62B114
analogous
#1414B1 #6314B1 #B114B0
triadic
#6314B1 #B16314 #14B163
tetradic
#6314B1 #B11414 #62B114 #14B0B1
square
#6314B1 #B11414 #62B114 #14B0B1
split-complementary
#6314B1 #B0B114 #14B114
monochromatic
#250843 #440E7A #6314B1 #821DE5 #A054EC

Accessibility & contrast

On white

9.27
#6314B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6314B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6314B1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6314B1#FFFFFF#000000##FFFFFF
##6314B11.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#4F4668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6314b1;
/* rgb */ color: rgb(99, 20, 177);
/* oklch */ color: oklch(42.7% 0.215 298.6);
Tailwind
colors: {
  custom: {
    50: '#9861ca',
    500: '#6314b1',
    950: '#000000',
  },
}
SCSS
$custom: #6314b1;
$custom-light: #9861ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6314b1",
  "rgb": {
    "r": 99,
    "g": 20,
    "b": 177
  },
  "hsl": {
    "h": 270.191,
    "s": 79.695,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.21544,
    "h": 298.6
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#6314B1
secondary
#90CE53
accent
#F63293
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6314B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6314B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva