#42355F#42355F

#42355F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.3% C 0.072 H 296.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#42355F
RGBrgb(66, 53, 95)
HSLhsl(259, 28%, 29%)
HSVhsv(259, 44%, 37%)
CMYKcmyk(30.5%, 44.2%, 0%, 62.7%)
CIE-LABlab(25.35, 16.14, -22.98)
CIE-LCHlch(25.35, 28.08, 305.08°)
OKLaboklab(36.29% 0.0326 -0.0642)
OKLCHoklch(36.29% 0.072 296.9)
XYZxyz(5.5849, 4.5306, 11.4045)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42355F #525F35
analogous
#353D5F #42355F #57355F
triadic
#42355F #5F4235 #355F42
tetradic
#42355F #5F353D #525F35 #355F57
square
#42355F #5F353D #525F35 #355F57
split-complementary
#42355F #5F5735 #3D5F35
monochromatic
#0E0B14 #271F38 #42355F #5D4B86 #7A65A9

Accessibility & contrast

On white

11.02
#42355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#42355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42355F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42355F#FFFFFF#000000##FFFFFF
##42355F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#2B3C5E
Tritanopia (blue-blind)
#3C3C45
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #42355f;
/* rgb */ color: rgb(66, 53, 95);
/* oklch */ color: oklch(36.3% 0.072 296.9);
Tailwind
colors: {
  custom: {
    50: '#776c8c',
    500: '#42355f',
    950: '#000000',
  },
}
SCSS
$custom: #42355f;
$custom-light: #776c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42355f",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 258.571,
    "s": 28.378,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36294,
    "c": 0.07205,
    "h": 296.9
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#42355F
secondary
#819060
accent
#C563A6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09070C
muted
#7B7A7D

Preview Lab

Preview with #42355F

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

Preview Lab → · Contrast checker → · Palette generator →

#42355F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva