#6214B3#6214B3

#6214B3 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.8% C 0.217 H 297.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6214B3
RGBrgb(98, 20, 179)
HSLhsl(269, 80%, 39%)
HSVhsv(269, 89%, 70%)
CMYKcmyk(45.3%, 88.8%, 0%, 29.8%)
CIE-LABlab(30.28, 60.88, -67.12)
CIE-LCHlch(30.28, 90.61, 312.21°)
OKLaboklab(42.75% 0.1008 -0.1924)
OKLCHoklch(42.75% 0.217 297.6)
XYZxyz(13.4217, 6.3514, 43.1579)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6214B3 #65B314
analogous
#1416B3 #6214B3 #B214B3
triadic
#6214B3 #B36214 #14B362
tetradic
#6214B3 #B31416 #65B314 #14B3B2
square
#6214B3 #B31416 #65B314 #14B3B2
split-complementary
#6214B3 #B3B214 #16B314
monochromatic
#260845 #440E7C #6214B3 #801EE6 #9F55EC

Accessibility & contrast

On white

9.25
#6214B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6214B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6214B3
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6214B3#FFFFFF#000000##FFFFFF
##6214B31.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#4C4769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6214b3;
/* rgb */ color: rgb(98, 20, 179);
/* oklch */ color: oklch(42.8% 0.217 297.6);
Tailwind
colors: {
  custom: {
    50: '#9861cb',
    500: '#6214b3',
    950: '#000000',
  },
}
SCSS
$custom: #6214b3;
$custom-light: #9861cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6214b3",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 179
  },
  "hsl": {
    "h": 269.434,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.2172,
    "h": 297.6
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#6214B3
secondary
#93CF54
accent
#F63196
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6214B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6214B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva