#682297#682297

#682297 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 307.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#682297
RGBrgb(104, 34, 151)
HSLhsl(276, 63%, 36%)
HSVhsv(276, 77%, 59%)
CMYKcmyk(31.1%, 77.5%, 0%, 40.8%)
CIE-LABlab(30.21, 50.71, -50.28)
CIE-LCHlch(30.21, 71.41, 315.25°)
OKLaboklab(42.12% 0.1093 -0.1429)
OKLCHoklch(42.12% 0.18 307.4)
XYZxyz(11.8657, 6.3216, 29.8673)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682297 #519722
analogous
#2D2297 #682297 #97228C
triadic
#682297 #976822 #229768
tetradic
#682297 #972D22 #519722 #228C97
square
#682297 #972D22 #519722 #228C97
split-complementary
#682297 #8C9722 #22972D
monochromatic
#230C33 #461765 #682297 #8A2DC9 #A65ADA

Accessibility & contrast

On white

9.27
#682297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682297
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682297#FFFFFF#000000##FFFFFF
##6822971.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#603F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682297;
/* rgb */ color: rgb(104, 34, 151);
/* oklch */ color: oklch(42.1% 0.180 307.4);
Tailwind
colors: {
  custom: {
    50: '#9865b6',
    500: '#682297',
    950: '#000000',
  },
}
SCSS
$custom: #682297;
$custom-light: #9865b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682297",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 275.897,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.17987,
    "h": 307.4
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#682297
secondary
#80BE57
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682297

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

Preview Lab → · Contrast checker → · Palette generator →

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