#42356D#42356D

#42356D is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.2% C 0.094 H 291.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#42356D
RGBrgb(66, 53, 109)
HSLhsl(254, 35%, 32%)
HSVhsv(254, 51%, 43%)
CMYKcmyk(39.4%, 51.4%, 0%, 57.3%)
CIE-LABlab(26.18, 20.31, -30.71)
CIE-LCHlch(26.18, 36.82, 303.48°)
OKLaboklab(37.19% 0.0349 -0.0868)
OKLCHoklch(37.19% 0.094 291.9)
XYZxyz(6.2795, 4.8084, 15.0623)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42356D #606D35
analogous
#35446D #42356D #5E356D
triadic
#42356D #6D4235 #356D42
tetradic
#42356D #6D3544 #606D35 #356D5E
square
#42356D #6D3544 #606D35 #356D5E
split-complementary
#42356D #6D5E35 #446D35
monochromatic
#100D1B #292144 #42356D #5B4996 #7967B5

Accessibility & contrast

On white

10.70
#42356D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#42356D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42356D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42356D#FFFFFF#000000##FFFFFF
##42356D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#37404C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #42356d;
/* rgb */ color: rgb(66, 53, 109);
/* oklch */ color: oklch(37.2% 0.094 291.9);
Tailwind
colors: {
  custom: {
    50: '#796c97',
    500: '#42356d',
    950: '#000000',
  },
}
SCSS
$custom: #42356d;
$custom-light: #796c97;
$custom-dark: #000000;
JSON
{
  "hex": "#42356d",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 109
  },
  "hsl": {
    "h": 253.929,
    "s": 34.568,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.09355,
    "h": 291.9
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#42356D
secondary
#8F9E60
accent
#CB5DB1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #42356D

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

Preview Lab → · Contrast checker → · Palette generator →

#42356D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva