#42376E#42376E

#42376E is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.7% C 0.092 H 290.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#42376E
RGBrgb(66, 55, 110)
HSLhsl(252, 33%, 32%)
HSVhsv(252, 50%, 43%)
CMYKcmyk(40%, 50%, 0%, 56.9%)
CIE-LABlab(26.78, 19.30, -30.40)
CIE-LCHlch(26.78, 36.00, 302.41°)
OKLaboklab(37.66% 0.0321 -0.0859)
OKLCHoklch(37.66% 0.092 290.5)
XYZxyz(6.4267, 5.0162, 15.3785)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42376E #636E37
analogous
#37486E #42376E #5E376E
triadic
#42376E #6E4237 #376E42
tetradic
#42376E #6E3748 #636E37 #376E5E
square
#42376E #6E3748 #636E37 #376E5E
split-complementary
#42376E #6E5E37 #486E37
monochromatic
#110E1C #2A2345 #42376E #5A4B97 #796BB5

Accessibility & contrast

On white

10.48
#42376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#42376E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42376E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42376E#FFFFFF#000000##FFFFFF
##42376E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#243E6D
Tritanopia (blue-blind)
#37424D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42376e;
/* rgb */ color: rgb(66, 55, 110);
/* oklch */ color: oklch(37.7% 0.092 290.5);
Tailwind
colors: {
  custom: {
    50: '#796e98',
    500: '#42376e',
    950: '#000000',
  },
}
SCSS
$custom: #42376e;
$custom-light: #796e98;
$custom-dark: #000000;
JSON
{
  "hex": "#42376e",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 252,
    "s": 33.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.09168,
    "h": 290.5
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#42376E
secondary
#929E63
accent
#C95EB4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #42376E

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

Preview Lab → · Contrast checker → · Palette generator →

#42376E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva