#672295#672295

#672295 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.178 H 307.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#672295
RGBrgb(103, 34, 149)
HSLhsl(276, 63%, 36%)
HSVhsv(276, 77%, 58%)
CMYKcmyk(30.9%, 77.2%, 0%, 41.6%)
CIE-LABlab(29.91, 50.07, -49.55)
CIE-LCHlch(29.91, 70.44, 315.30°)
OKLaboklab(41.83% 0.1083 -0.1408)
OKLCHoklch(41.83% 0.178 307.6)
XYZxyz(11.5892, 6.1977, 29.0137)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672295 #509522
analogous
#2D2295 #672295 #952289
triadic
#672295 #956722 #229567
tetradic
#672295 #952D22 #509522 #228995
square
#672295 #952D22 #509522 #228995
split-complementary
#672295 #899522 #22952D
monochromatic
#220B31 #451763 #672295 #892DC7 #A658D9

Accessibility & contrast

On white

9.38
#672295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672295
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672295#FFFFFF#000000##FFFFFF
##6722951.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#5F3E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672295;
/* rgb */ color: rgb(103, 34, 149);
/* oklch */ color: oklch(41.8% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#9765b5',
    500: '#672295',
    950: '#000000',
  },
}
SCSS
$custom: #672295;
$custom-light: #9765b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672295",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 276,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.1776,
    "h": 307.6
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#672295
secondary
#7FBD56
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672295

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

Preview Lab → · Contrast checker → · Palette generator →

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