#604284#604284

#604284 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.3% C 0.109 H 303.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#604284
RGBrgb(96, 66, 132)
HSLhsl(267, 33%, 39%)
HSVhsv(267, 50%, 52%)
CMYKcmyk(27.3%, 50%, 0%, 48.2%)
CIE-LABlab(34.09, 27.30, -32.42)
CIE-LCHlch(34.09, 42.38, 310.11°)
OKLaboklab(44.3% 0.0596 -0.0909)
OKLCHoklch(44.3% 0.109 303.2)
XYZxyz(10.9360, 8.0492, 22.8028)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604284 #668442
analogous
#424584 #604284 #814284
triadic
#604284 #846042 #428460
tetradic
#604284 #844245 #668442 #428481
square
#604284 #844245 #668442 #428481
split-complementary
#604284 #848142 #458442
monochromatic
#251932 #422E5B #604284 #7E58AB #9D81C0

Accessibility & contrast

On white

8.05
#604284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#604284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604284
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604284#FFFFFF#000000##FFFFFF
##6042841.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F86
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#5A4E5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #604284;
/* rgb */ color: rgb(96, 66, 132);
/* oklch */ color: oklch(44.3% 0.109 303.2);
Tailwind
colors: {
  custom: {
    50: '#8f77a8',
    500: '#604284',
    950: '#000000',
  },
}
SCSS
$custom: #604284;
$custom-light: #8f77a8;
$custom-dark: #000000;
JSON
{
  "hex": "#604284",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 267.273,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.443,
    "c": 0.1087,
    "h": 303.2
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#604284
secondary
#93AB77
accent
#C95E99
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #604284

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

Preview Lab → · Contrast checker → · Palette generator →

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