#671895#671895

#671895 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.187 H 308.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#671895
RGBrgb(103, 24, 149)
HSLhsl(278, 72%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.9%, 83.9%, 0%, 41.6%)
CIE-LABlab(28.66, 53.67, -51.58)
CIE-LCHlch(28.66, 74.44, 316.14°)
OKLaboklab(40.96% 0.1165 -0.1467)
OKLCHoklch(40.96% 0.187 308.5)
XYZxyz(11.3438, 5.7070, 28.9319)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671895 #469518
analogous
#291895 #671895 #951885
triadic
#671895 #956718 #189567
tetradic
#671895 #952918 #469518 #188595
square
#671895 #952918 #469518 #188595
split-complementary
#671895 #859518 #189529
monochromatic
#1E072C #431060 #671895 #8B20CA #A846E1

Accessibility & contrast

On white

9.81
#671895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671895
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671895#FFFFFF#000000##FFFFFF
##6718951.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#603A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671895;
/* rgb */ color: rgb(103, 24, 149);
/* oklch */ color: oklch(41.0% 0.187 308.5);
Tailwind
colors: {
  custom: {
    50: '#9861b5',
    500: '#671895',
    950: '#000000',
  },
}
SCSS
$custom: #671895;
$custom-light: #9861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#671895",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 277.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.18731,
    "h": 308.5
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#671895
secondary
#74C246
accent
#EF397C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671895

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

Preview Lab → · Contrast checker → · Palette generator →

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