#682295#682295

#682295 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.178 H 308.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#682295
RGBrgb(104, 34, 149)
HSLhsl(277, 63%, 36%)
HSVhsv(277, 77%, 58%)
CMYKcmyk(30.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(30.05, 50.26, -49.31)
CIE-LCHlch(30.05, 70.41, 315.55°)
OKLaboklab(41.96% 0.1097 -0.14)
OKLCHoklch(41.96% 0.178 308.1)
XYZxyz(11.7046, 6.2572, 29.0191)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682295 #4F9522
analogous
#2E2295 #682295 #952288
triadic
#682295 #956822 #229568
tetradic
#682295 #952E22 #4F9522 #228895
square
#682295 #952E22 #4F9522 #228895
split-complementary
#682295 #889522 #22952E
monochromatic
#220B31 #451763 #682295 #8B2DC7 #A758D9

Accessibility & contrast

On white

9.33
#682295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682295
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682295#FFFFFF#000000##FFFFFF
##6822951.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#613E5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682295;
/* rgb */ color: rgb(104, 34, 149);
/* oklch */ color: oklch(42.0% 0.178 308.1);
Tailwind
colors: {
  custom: {
    50: '#9865b5',
    500: '#682295',
    950: '#000000',
  },
}
SCSS
$custom: #682295;
$custom-light: #9865b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682295",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 276.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.17788,
    "h": 308.1
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#682295
secondary
#7EBD56
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682295

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

Preview Lab → · Contrast checker → · Palette generator →

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