#682895#682895

#682895 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.171 H 307.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#682895
RGBrgb(104, 40, 149)
HSLhsl(275, 58%, 37%)
HSVhsv(275, 73%, 58%)
CMYKcmyk(30.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(30.95, 47.70, -47.85)
CIE-LCHlch(30.95, 67.56, 314.91°)
OKLaboklab(42.6% 0.1038 -0.1358)
OKLCHoklch(42.6% 0.171 307.4)
XYZxyz(11.8914, 6.6307, 29.0814)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682895 #559528
analogous
#312895 #682895 #95288C
triadic
#682895 #956828 #289568
tetradic
#682895 #953128 #559528 #288C95
square
#682895 #953128 #559528 #288C95
split-complementary
#682895 #8C9528 #289531
monochromatic
#250E35 #461B65 #682895 #8A35C5 #A662D5

Accessibility & contrast

On white

9.03
#682895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682895
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682895#FFFFFF#000000##FFFFFF
##6828951.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#024993
Tritanopia (blue-blind)
#61415C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682895;
/* rgb */ color: rgb(104, 40, 149);
/* oklch */ color: oklch(42.6% 0.171 307.4);
Tailwind
colors: {
  custom: {
    50: '#9768b5',
    500: '#682895',
    950: '#000000',
  },
}
SCSS
$custom: #682895;
$custom-light: #9768b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682895",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 275.229,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.17091,
    "h": 307.4
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#682895
secondary
#84BB5E
accent
#E14786
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682895

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

Preview Lab → · Contrast checker → · Palette generator →

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