#42103D#42103D

#42103D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.098 H 332.1°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#42103D
RGBrgb(66, 16, 61)
HSLhsl(306, 61%, 16%)
HSVhsv(306, 76%, 26%)
CMYKcmyk(0%, 75.8%, 7.6%, 74.1%)
CIE-LABlab(14.77, 30.07, -16.62)
CIE-LCHlch(14.77, 34.36, 331.08°)
OKLaboklab(27.8% 0.0862 -0.0456)
OKLCHoklch(27.8% 0.098 332.1)
XYZxyz(3.2744, 1.8660, 4.6017)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103D #104215
analogous
#2E1042 #42103D #421024
triadic
#42103D #3D4210 #103D42
tetradic
#42103D #422E10 #104215 #102442
square
#42103D #422E10 #104215 #102442
split-complementary
#42103D #244210 #10422E
monochromatic
#190617 #190617 #42103D #731C6B #A52898

Accessibility & contrast

On white

15.29
#42103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42103D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103D#FFFFFF#000000##FFFFFF
##42103D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213E
Deuteranopia (green-blind)
#1F283C
Tritanopia (blue-blind)
#451524
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103d;
/* rgb */ color: rgb(66, 16, 61);
/* oklch */ color: oklch(27.8% 0.098 332.1);
Tailwind
colors: {
  custom: {
    50: '#785372',
    500: '#42103d',
    950: '#000000',
  },
}
SCSS
$custom: #42103d;
$custom-light: #785372;
$custom-dark: #000000;
JSON
{
  "hex": "#42103d",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 306,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27801,
    "c": 0.09753,
    "h": 332.1
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#42103D
secondary
#327C39
accent
#E45444
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #42103D

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

Preview Lab → · Contrast checker → · Palette generator →

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