#672285#672285

#672285 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.162 H 313.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#672285
RGBrgb(103, 34, 133)
HSLhsl(282, 59%, 33%)
HSVhsv(282, 74%, 52%)
CMYKcmyk(22.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(28.70, 46.47, -41.60)
CIE-LCHlch(28.70, 62.37, 318.17°)
OKLaboklab(40.59% 0.1111 -0.1174)
OKLCHoklch(40.59% 0.162 313.4)
XYZxyz(10.3984, 5.7214, 22.7423)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672285 #408522
analogous
#352285 #672285 #852271
triadic
#672285 #856722 #228567
tetradic
#672285 #853522 #408522 #227185
square
#672285 #853522 #408522 #227185
split-complementary
#672285 #718522 #228535
monochromatic
#1C0924 #411654 #672285 #8D2EB6 #AA4FD2

Accessibility & contrast

On white

9.79
#672285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#672285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672285
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672285#FFFFFF#000000##FFFFFF
##6722851.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#643851
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672285;
/* rgb */ color: rgb(103, 34, 133);
/* oklch */ color: oklch(40.6% 0.162 313.4);
Tailwind
colors: {
  custom: {
    50: '#9664a9',
    500: '#672285',
    950: '#000000',
  },
}
SCSS
$custom: #672285;
$custom-light: #9664a9;
$custom-dark: #000000;
JSON
{
  "hex": "#672285",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 281.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.16164,
    "h": 313.4
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#672285
secondary
#6DB64D
accent
#E24575
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672285

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

Preview Lab → · Contrast checker → · Palette generator →

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