#6122AF#6122AF

#6122AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.203 H 297.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6122AF
RGBrgb(97, 34, 175)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 81%, 69%)
CMYKcmyk(44.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(31.30, 55.29, -63.06)
CIE-LCHlch(31.30, 83.86, 311.24°)
OKLaboklab(43.31% 0.0923 -0.1807)
OKLCHoklch(43.31% 0.203 297.1)
XYZxyz(13.2376, 6.7803, 41.1604)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122AF #70AF22
analogous
#2229AF #6122AF #A722AF
triadic
#6122AF #AF6122 #22AF61
tetradic
#6122AF #AF2229 #70AF22 #22AFA7
square
#6122AF #AF2229 #70AF22 #22AFA7
split-complementary
#6122AF #AFA722 #29AF22
monochromatic
#280E49 #45187C #6122AF #7E36D8 #9F69E2

Accessibility & contrast

On white

8.91
#6122AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6122AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122AF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122AF#FFFFFF#000000##FFFFFF
##6122AF1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#4C4A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6122af;
/* rgb */ color: rgb(97, 34, 175);
/* oklch */ color: oklch(43.3% 0.203 297.1);
Tailwind
colors: {
  custom: {
    50: '#9666c8',
    500: '#6122af',
    950: '#000000',
  },
}
SCSS
$custom: #6122af;
$custom-light: #9666c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6122af",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 266.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.2029,
    "h": 297.1
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#6122AF
secondary
#9CC865
accent
#EA3D9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6122AF

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

Preview Lab → · Contrast checker → · Palette generator →

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