#622BAB#622BAB

#622BAB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.190 H 297.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#622BAB
RGBrgb(98, 43, 171)
HSLhsl(266, 60%, 42%)
HSVhsv(266, 75%, 67%)
CMYKcmyk(42.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(32.40, 50.63, -58.86)
CIE-LCHlch(32.40, 77.63, 310.70°)
OKLaboklab(44% 0.0876 -0.1684)
OKLCHoklch(44% 0.19 297.5)
XYZxyz(13.2497, 7.2645, 39.2243)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622BAB #74AB2B
analogous
#2B34AB #622BAB #A22BAB
triadic
#622BAB #AB622B #2BAB62
tetradic
#622BAB #AB2B34 #74AB2B #2BABA2
square
#622BAB #AB2B34 #74AB2B #2BABA2
split-complementary
#622BAB #ABA22B #34AB2B
monochromatic
#2A1249 #461F7A #622BAB #8043D0 #A174DC

Accessibility & contrast

On white

8.56
#622BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#622BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622BAB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622BAB#FFFFFF#000000##FFFFFF
##622BAB1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #622bab;
/* rgb */ color: rgb(98, 43, 171);
/* oklch */ color: oklch(44.0% 0.190 297.5);
Tailwind
colors: {
  custom: {
    50: '#956ac5',
    500: '#622bab',
    950: '#000000',
  },
}
SCSS
$custom: #622bab;
$custom-light: #956ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#622bab",
  "rgb": {
    "r": 98,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 265.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44,
    "c": 0.18981,
    "h": 297.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#622BAB
secondary
#9FC46E
accent
#E3459F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #622BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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