#42063C#42063C

#42063C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.110 H 332.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#42063C
RGBrgb(66, 6, 60)
HSLhsl(306, 83%, 14%)
HSVhsv(306, 91%, 26%)
CMYKcmyk(0%, 90.9%, 9.1%, 74.1%)
CIE-LABlab(13.32, 33.84, -18.19)
CIE-LCHlch(13.32, 38.42, 331.74°)
OKLaboklab(26.74% 0.0977 -0.05)
OKLCHoklch(26.74% 0.11 332.9)
XYZxyz(3.1275, 1.6150, 4.4211)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063C #06420C
analogous
#2A0642 #42063C #42061E
triadic
#42063C #3C4206 #063C42
tetradic
#42063C #422A06 #06420C #061E42
square
#42063C #422A06 #06420C #061E42
split-complementary
#42063C #1E4206 #06422A
monochromatic
#1C0319 #1C0319 #42063C #7A0B6F #B210A2

Accessibility & contrast

On white

15.87
#42063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#42063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42063C
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063C#FFFFFF#000000##FFFFFF
##42063C1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#450D21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42063c;
/* rgb */ color: rgb(66, 6, 60);
/* oklch */ color: oklch(26.7% 0.110 332.9);
Tailwind
colors: {
  custom: {
    50: '#794f72',
    500: '#42063c',
    950: '#000000',
  },
}
SCSS
$custom: #42063c;
$custom-light: #794f72;
$custom-dark: #000000;
JSON
{
  "hex": "#42063c",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 306,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26742,
    "c": 0.10975,
    "h": 332.9
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#42063C
secondary
#22822C
accent
#FA432E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42063C

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

Preview Lab → · Contrast checker → · Palette generator →

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