#674286#674286

#674286 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.2% C 0.113 H 307.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#674286
RGBrgb(103, 66, 134)
HSLhsl(273, 34%, 39%)
HSVhsv(273, 51%, 53%)
CMYKcmyk(23.1%, 50.7%, 0%, 47.5%)
CIE-LABlab(35.01, 29.89, -32.14)
CIE-LCHlch(35.01, 43.89, 312.92°)
OKLaboklab(45.21% 0.0692 -0.0899)
OKLCHoklch(45.21% 0.113 307.6)
XYZxyz(11.8440, 8.5014, 23.5666)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674286 #618642
analogous
#454286 #674286 #864283
triadic
#674286 #866742 #428667
tetradic
#674286 #864542 #618642 #428386
square
#674286 #864542 #618642 #428386
split-complementary
#674286 #838642 #428645
monochromatic
#281A34 #472E5D #674286 #8658AD #A481C1

Accessibility & contrast

On white

7.78
#674286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#674286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674286
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674286#FFFFFF#000000##FFFFFF
##6742861.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#634E5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #674286;
/* rgb */ color: rgb(103, 66, 134);
/* oklch */ color: oklch(45.2% 0.113 307.6);
Tailwind
colors: {
  custom: {
    50: '#9477a9',
    500: '#674286',
    950: '#000000',
  },
}
SCSS
$custom: #674286;
$custom-light: #9477a9;
$custom-dark: #000000;
JSON
{
  "hex": "#674286",
  "rgb": {
    "r": 103,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 272.647,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.11348,
    "h": 307.6
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#674286
secondary
#90AC78
accent
#CA5E8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #674286

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

Preview Lab → · Contrast checker → · Palette generator →

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