#674278#674278

#674278 is a dark, moderate purple. Relative luminance 0.081; OKLCH L 44.4% C 0.096 H 314.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#674278
RGBrgb(103, 66, 120)
HSLhsl(281, 29%, 36%)
HSVhsv(281, 45%, 47%)
CMYKcmyk(14.2%, 45%, 0%, 52.9%)
CIE-LABlab(34.27, 26.49, -24.63)
CIE-LCHlch(34.27, 36.17, 317.09°)
OKLaboklab(44.41% 0.067 -0.0681)
OKLCHoklch(44.41% 0.096 314.5)
XYZxyz(10.9314, 8.1363, 18.7603)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674278 #537842
analogous
#4C4278 #674278 #78426E
triadic
#674278 #786742 #427867
tetradic
#674278 #784C42 #537842 #426E78
square
#674278 #784C42 #537842 #426E78
split-complementary
#674278 #6E7842 #42784C
monochromatic
#231729 #452C51 #674278 #89589F #A57DB7

Accessibility & contrast

On white

7.99
#674278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#674278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674278
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674278#FFFFFF#000000##FFFFFF
##6742781.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#425276
Tritanopia (blue-blind)
#664A57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #674278;
/* rgb */ color: rgb(103, 66, 120);
/* oklch */ color: oklch(44.4% 0.096 314.5);
Tailwind
colors: {
  custom: {
    50: '#93779f',
    500: '#674278',
    950: '#000000',
  },
}
SCSS
$custom: #674278;
$custom-light: #93779f;
$custom-dark: #000000;
JSON
{
  "hex": "#674278",
  "rgb": {
    "r": 103,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 281.111,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.09556,
    "h": 314.5
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#674278
secondary
#82A273
accent
#C56282
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D090E
muted
#7E7B7E

Preview Lab

Preview with #674278

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

Preview Lab → · Contrast checker → · Palette generator →

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