#622895#622895

#622895 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.169 H 304.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#622895
RGBrgb(98, 40, 149)
HSLhsl(272, 58%, 37%)
HSVhsv(272, 73%, 58%)
CMYKcmyk(34.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(30.12, 46.49, -49.24)
CIE-LCHlch(30.12, 67.71, 313.35°)
OKLaboklab(41.83% 0.0952 -0.1401)
OKLCHoklch(41.83% 0.169 304.2)
XYZxyz(11.2194, 6.2842, 29.0499)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622895 #5B9528
analogous
#2C2895 #622895 #952892
triadic
#622895 #956228 #289562
tetradic
#622895 #952C28 #5B9528 #289295
square
#622895 #952C28 #5B9528 #289295
split-complementary
#622895 #929528 #28952C
monochromatic
#230E35 #421B65 #622895 #8235C5 #9F62D5

Accessibility & contrast

On white

9.31
#622895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#622895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622895
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622895#FFFFFF#000000##FFFFFF
##6228951.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#58425C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622895;
/* rgb */ color: rgb(98, 40, 149);
/* oklch */ color: oklch(41.8% 0.169 304.2);
Tailwind
colors: {
  custom: {
    50: '#9367b5',
    500: '#622895',
    950: '#000000',
  },
}
SCSS
$custom: #622895;
$custom-light: #9367b5;
$custom-dark: #000000;
JSON
{
  "hex": "#622895",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 271.927,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.16938,
    "h": 304.2
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#622895
secondary
#89BB5E
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #622895

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

Preview Lab → · Contrast checker → · Palette generator →

#622895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva