#622DAB#622DAB

#622DAB is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.188 H 297.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#622DAB
RGBrgb(98, 45, 171)
HSLhsl(265, 58%, 42%)
HSVhsv(265, 74%, 67%)
CMYKcmyk(42.7%, 73.7%, 0%, 32.9%)
CIE-LABlab(32.73, 49.69, -58.32)
CIE-LCHlch(32.73, 76.62, 310.43°)
OKLaboklab(44.23% 0.0858 -0.1668)
OKLCHoklch(44.23% 0.188 297.2)
XYZxyz(13.3242, 7.4135, 39.2491)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622DAB #76AB2D
analogous
#2D37AB #622DAB #A12DAB
triadic
#622DAB #AB622D #2DAB62
tetradic
#622DAB #AB2D37 #76AB2D #2DABA1
square
#622DAB #AB2D37 #76AB2D #2DABA1
split-complementary
#622DAB #ABA12D #37AB2D
monochromatic
#2A144A #46207B #622DAB #8047CE #A177DB

Accessibility & contrast

On white

8.46
#622DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#622DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622DAB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622DAB#FFFFFF#000000##FFFFFF
##622DAB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#4F4D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #622dab;
/* rgb */ color: rgb(98, 45, 171);
/* oklch */ color: oklch(44.2% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#956bc5',
    500: '#622dab',
    950: '#000000',
  },
}
SCSS
$custom: #622dab;
$custom-light: #956bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#622dab",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 265.238,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.18758,
    "h": 297.2
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#622DAB
secondary
#A0C371
accent
#E246A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #622DAB

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

Preview Lab → · Contrast checker → · Palette generator →

#622DAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva