#674783#674783

#674783 is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.9% C 0.101 H 307.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#674783
RGBrgb(103, 71, 131)
HSLhsl(272, 30%, 40%)
HSVhsv(272, 46%, 51%)
CMYKcmyk(21.4%, 45.8%, 0%, 48.6%)
CIE-LABlab(36.04, 26.12, -28.66)
CIE-LCHlch(36.04, 38.78, 312.35°)
OKLaboklab(45.93% 0.0612 -0.0798)
OKLCHoklch(45.93% 0.101 307.5)
XYZxyz(11.9427, 9.0289, 22.5819)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674783 #638347
analogous
#494783 #674783 #834781
triadic
#674783 #836747 #478367
tetradic
#674783 #834947 #638347 #478183
square
#674783 #834947 #638347 #478183
split-complementary
#674783 #818347 #478349
monochromatic
#291C34 #48315B #674783 #865FA8 #A487BE

Accessibility & contrast

On white

7.48
#674783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#674783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674783
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674783#FFFFFF#000000##FFFFFF
##6747831.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#63515F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #674783;
/* rgb */ color: rgb(103, 71, 131);
/* oklch */ color: oklch(45.9% 0.101 307.5);
Tailwind
colors: {
  custom: {
    50: '#947ba7',
    500: '#674783',
    950: '#000000',
  },
}
SCSS
$custom: #674783;
$custom-light: #947ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#674783",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 272,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.1006,
    "h": 307.5
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#674783
secondary
#91A97C
accent
#C66291
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #674783

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

Preview Lab → · Contrast checker → · Palette generator →

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