#6229AF#6229AF

#6229AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.196 H 296.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6229AF
RGBrgb(98, 41, 175)
HSLhsl(266, 62%, 42%)
HSVhsv(266, 77%, 69%)
CMYKcmyk(44%, 76.6%, 0%, 31.4%)
CIE-LABlab(32.43, 52.55, -61.20)
CIE-LCHlch(32.43, 80.67, 310.65°)
OKLaboklab(44.13% 0.0884 -0.1752)
OKLCHoklch(44.13% 0.196 296.8)
XYZxyz(13.5658, 7.2774, 41.2391)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229AF #76AF29
analogous
#2933AF #6229AF #A529AF
triadic
#6229AF #AF6229 #29AF62
tetradic
#6229AF #AF2933 #76AF29 #29AFA5
square
#6229AF #AF2933 #76AF29 #29AFA5
split-complementary
#6229AF #AFA529 #33AF29
monochromatic
#2A124C #461D7D #6229AF #8042D3 #A174DE

Accessibility & contrast

On white

8.55
#6229AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6229AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229AF
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229AF#FFFFFF#000000##FFFFFF
##6229AF1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#4D4D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6229af;
/* rgb */ color: rgb(98, 41, 175);
/* oklch */ color: oklch(44.1% 0.196 296.8);
Tailwind
colors: {
  custom: {
    50: '#9669c8',
    500: '#6229af',
    950: '#000000',
  },
}
SCSS
$custom: #6229af;
$custom-light: #9669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6229af",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 265.522,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.19626,
    "h": 296.8
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#6229AF
secondary
#A0C66E
accent
#E543A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6229AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva