#672598#672598

#672598 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.177 H 306.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#672598
RGBrgb(103, 37, 152)
HSLhsl(274, 61%, 37%)
HSVhsv(274, 76%, 60%)
CMYKcmyk(32.2%, 75.7%, 0%, 40.4%)
CIE-LABlab(30.58, 49.52, -50.30)
CIE-LCHlch(30.58, 70.58, 314.55°)
OKLaboklab(42.38% 0.1048 -0.143)
OKLCHoklch(42.38% 0.177 306.2)
XYZxyz(11.9213, 6.4738, 30.3212)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672598 #569825
analogous
#2E2598 #672598 #982590
triadic
#672598 #986725 #259867
tetradic
#672598 #982E25 #569825 #259098
square
#672598 #982E25 #569825 #259098
split-complementary
#672598 #909825 #25982E
monochromatic
#240D36 #461967 #672598 #8831C9 #A55FD8

Accessibility & contrast

On white

9.15
#672598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672598
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672598#FFFFFF#000000##FFFFFF
##6725981.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672598;
/* rgb */ color: rgb(103, 37, 152);
/* oklch */ color: oklch(42.4% 0.177 306.2);
Tailwind
colors: {
  custom: {
    50: '#9766b7',
    500: '#672598',
    950: '#000000',
  },
}
SCSS
$custom: #672598;
$custom-light: #9766b7;
$custom-dark: #000000;
JSON
{
  "hex": "#672598",
  "rgb": {
    "r": 103,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 274.435,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.1773,
    "h": 306.2
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#672598
secondary
#85BD5C
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672598

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

Preview Lab → · Contrast checker → · Palette generator →

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