#42364D#42364D

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

Color values

HEX#42364D
RGBrgb(66, 54, 77)
HSLhsl(271, 18%, 26%)
HSVhsv(271, 30%, 30%)
CMYKcmyk(14.3%, 29.9%, 0%, 69.8%)
CIE-LABlab(24.74, 10.55, -12.09)
CIE-LCHlch(24.74, 16.05, 311.09°)
OKLaboklab(35.53% 0.0259 -0.0331)
OKLCHoklch(35.53% 0.042 308.1)
XYZxyz(4.9052, 4.3324, 7.5976)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42364D #414D36
analogous
#36364D #42364D #4D364C
triadic
#42364D #4D4236 #364D42
tetradic
#42364D #4D3636 #414D36 #364C4D
square
#42364D #4D3636 #414D36 #364C4D
split-complementary
#42364D #4C4D36 #364D36
monochromatic
#0F0D12 #231D29 #42364D #614F71 #806895

Accessibility & contrast

On white

11.25
#42364D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#42364D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42364D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42364D#FFFFFF#000000##FFFFFF
##42364D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#343B4C
Tritanopia (blue-blind)
#41393E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #42364d;
/* rgb */ color: rgb(66, 54, 77);
/* oklch */ color: oklch(35.5% 0.042 308.1);
Tailwind
colors: {
  custom: {
    50: '#766d7e',
    500: '#42364d',
    950: '#000000',
  },
}
SCSS
$custom: #42364d;
$custom-light: #766d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42364d",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 77
  },
  "hsl": {
    "h": 271.304,
    "s": 17.557,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35532,
    "c": 0.042,
    "h": 308.1
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#42364D
secondary
#6F7D62
accent
#BA6E92
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #42364D

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

Preview Lab → · Contrast checker → · Palette generator →

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