#42364C#42364C

#42364C is a dark, muted violet. Relative luminance 0.043; OKLCH L 35.5% C 0.040 H 309.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#42364C
RGBrgb(66, 54, 76)
HSLhsl(273, 17%, 25%)
HSVhsv(273, 29%, 30%)
CMYKcmyk(13.2%, 28.9%, 0%, 70.2%)
CIE-LABlab(24.70, 10.29, -11.50)
CIE-LCHlch(24.70, 15.43, 311.83°)
OKLaboklab(35.48% 0.0256 -0.0314)
OKLCHoklch(35.48% 0.04 309.2)
XYZxyz(4.8702, 4.3184, 7.4130)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42364C #404C36
analogous
#37364C #42364C #4C364B
triadic
#42364C #4C4236 #364C42
tetradic
#42364C #4C3736 #404C36 #364B4C
square
#42364C #4C3736 #404C36 #364B4C
split-complementary
#42364C #4B4C36 #364C37
monochromatic
#100D12 #231D28 #42364C #614F70 #806994

Accessibility & contrast

On white

11.27
#42364C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#42364C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42364C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42364C#FFFFFF#000000##FFFFFF
##42364C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4D
Deuteranopia (green-blind)
#353B4B
Tritanopia (blue-blind)
#41393E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #42364c;
/* rgb */ color: rgb(66, 54, 76);
/* oklch */ color: oklch(35.5% 0.040 309.2);
Tailwind
colors: {
  custom: {
    50: '#766d7e',
    500: '#42364c',
    950: '#000000',
  },
}
SCSS
$custom: #42364c;
$custom-light: #766d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42364c",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 76
  },
  "hsl": {
    "h": 272.727,
    "s": 16.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.04047,
    "h": 309.2
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#42364C
secondary
#6E7C62
accent
#BA6E90
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #42364C

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

Preview Lab → · Contrast checker → · Palette generator →

#42364C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva