#672698#672698

#672698 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.176 H 306.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#672698
RGBrgb(103, 38, 152)
HSLhsl(274, 60%, 37%)
HSVhsv(274, 75%, 60%)
CMYKcmyk(32.2%, 75%, 0%, 40.4%)
CIE-LABlab(30.73, 49.09, -50.05)
CIE-LCHlch(30.73, 70.11, 314.44°)
OKLaboklab(42.48% 0.1038 -0.1423)
OKLCHoklch(42.48% 0.176 306.1)
XYZxyz(11.9529, 6.5369, 30.3317)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672698 #579826
analogous
#2E2698 #672698 #982690
triadic
#672698 #986726 #269867
tetradic
#672698 #982E26 #579826 #269098
square
#672698 #982E26 #579826 #269098
split-complementary
#672698 #909826 #26982E
monochromatic
#250E36 #461A67 #672698 #8832C9 #A561D7

Accessibility & contrast

On white

9.10
#672698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672698
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672698#FFFFFF#000000##FFFFFF
##6726981.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#5E425D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672698;
/* rgb */ color: rgb(103, 38, 152);
/* oklch */ color: oklch(42.5% 0.176 306.1);
Tailwind
colors: {
  custom: {
    50: '#9767b7',
    500: '#672698',
    950: '#000000',
  },
}
SCSS
$custom: #672698;
$custom-light: #9767b7;
$custom-dark: #000000;
JSON
{
  "hex": "#672698",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 274.211,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.17615,
    "h": 306.1
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#672698
secondary
#86BD5D
accent
#E34589
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672698

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

Preview Lab → · Contrast checker → · Palette generator →

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