#42103C#42103C

#42103C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.097 H 333.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#42103C
RGBrgb(66, 16, 60)
HSLhsl(307, 61%, 16%)
HSVhsv(307, 76%, 26%)
CMYKcmyk(0%, 75.8%, 9.1%, 74.1%)
CIE-LABlab(14.71, 29.88, -16.00)
CIE-LCHlch(14.71, 33.90, 331.83°)
OKLaboklab(27.74% 0.0861 -0.0438)
OKLCHoklch(27.74% 0.097 333)
XYZxyz(3.2477, 1.8553, 4.4612)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103C #104216
analogous
#2F1042 #42103C #421023
triadic
#42103C #3C4210 #103C42
tetradic
#42103C #422F10 #104216 #102342
square
#42103C #422F10 #104216 #102342
split-complementary
#42103C #234210 #10422F
monochromatic
#190616 #190616 #42103C #731C69 #A52896

Accessibility & contrast

On white

15.32
#42103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42103C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103C#FFFFFF#000000##FFFFFF
##42103C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#451424
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103c;
/* rgb */ color: rgb(66, 16, 60);
/* oklch */ color: oklch(27.7% 0.097 333.0);
Tailwind
colors: {
  custom: {
    50: '#785372',
    500: '#42103c',
    950: '#000000',
  },
}
SCSS
$custom: #42103c;
$custom-light: #785372;
$custom-dark: #000000;
JSON
{
  "hex": "#42103c",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 307.2,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27739,
    "c": 0.09663,
    "h": 333
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#42103C
secondary
#327C3B
accent
#E45744
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #42103C

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

Preview Lab → · Contrast checker → · Palette generator →

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