#42103A#42103A

#42103A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.095 H 334.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#42103A
RGBrgb(66, 16, 58)
HSLhsl(310, 61%, 16%)
HSVhsv(310, 76%, 26%)
CMYKcmyk(0%, 75.8%, 12.1%, 74.1%)
CIE-LABlab(14.59, 29.51, -14.76)
CIE-LCHlch(14.59, 33.00, 333.42°)
OKLaboklab(27.62% 0.0859 -0.0403)
OKLCHoklch(27.62% 0.095 334.9)
XYZxyz(3.1958, 1.8346, 4.1880)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103A #104218
analogous
#311042 #42103A #421021
triadic
#42103A #3A4210 #103A42
tetradic
#42103A #423110 #104218 #102142
square
#42103A #423110 #104218 #102142
split-complementary
#42103A #214210 #104231
monochromatic
#190616 #190616 #42103A #731C65 #A52891

Accessibility & contrast

On white

15.36
#42103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42103A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103A#FFFFFF#000000##FFFFFF
##42103A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203B
Deuteranopia (green-blind)
#212739
Tritanopia (blue-blind)
#461423
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103a;
/* rgb */ color: rgb(66, 16, 58);
/* oklch */ color: oklch(27.6% 0.095 334.9);
Tailwind
colors: {
  custom: {
    50: '#785370',
    500: '#42103a',
    950: '#000000',
  },
}
SCSS
$custom: #42103a;
$custom-light: #785370;
$custom-dark: #000000;
JSON
{
  "hex": "#42103a",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 309.6,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27618,
    "c": 0.09483,
    "h": 334.9
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#42103A
secondary
#327C3E
accent
#E45D44
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42103A

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

Preview Lab → · Contrast checker → · Palette generator →

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