#622CAB#622CAB

#622CAB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.189 H 297.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#622CAB
RGBrgb(98, 44, 171)
HSLhsl(266, 59%, 42%)
HSVhsv(266, 74%, 67%)
CMYKcmyk(42.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(32.56, 50.16, -58.59)
CIE-LCHlch(32.56, 77.13, 310.57°)
OKLaboklab(44.12% 0.0867 -0.1676)
OKLCHoklch(44.12% 0.189 297.4)
XYZxyz(13.2865, 7.3381, 39.2366)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622CAB #75AB2C
analogous
#2C35AB #622CAB #A22CAB
triadic
#622CAB #AB622C #2CAB62
tetradic
#622CAB #AB2C35 #75AB2C #2CABA2
square
#622CAB #AB2C35 #75AB2C #2CABA2
split-complementary
#622CAB #ABA22C #35AB2C
monochromatic
#2A134A #461F7A #622CAB #8045CF #A176DC

Accessibility & contrast

On white

8.51
#622CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#622CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622CAB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622CAB#FFFFFF#000000##FFFFFF
##622CAB1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.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: #622cab;
/* rgb */ color: rgb(98, 44, 171);
/* oklch */ color: oklch(44.1% 0.189 297.4);
Tailwind
colors: {
  custom: {
    50: '#956ac5',
    500: '#622cab',
    950: '#000000',
  },
}
SCSS
$custom: #622cab;
$custom-light: #956ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#622cab",
  "rgb": {
    "r": 98,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 265.512,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.1887,
    "h": 297.4
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #622CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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