#42103B#42103B

#42103B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.096 H 333.9°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#42103B
RGBrgb(66, 16, 59)
HSLhsl(308, 61%, 16%)
HSVhsv(308, 76%, 26%)
CMYKcmyk(0%, 75.8%, 10.6%, 74.1%)
CIE-LABlab(14.65, 29.69, -15.38)
CIE-LCHlch(14.65, 33.44, 332.61°)
OKLaboklab(27.68% 0.086 -0.042)
OKLCHoklch(27.68% 0.096 333.9)
XYZxyz(3.2215, 1.8449, 4.3232)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103B #104217
analogous
#301042 #42103B #421022
triadic
#42103B #3B4210 #103B42
tetradic
#42103B #423010 #104217 #102242
square
#42103B #423010 #104217 #102242
split-complementary
#42103B #224210 #104230
monochromatic
#190616 #190616 #42103B #731C67 #A52893

Accessibility & contrast

On white

15.34
#42103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42103B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103B#FFFFFF#000000##FFFFFF
##42103B1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203C
Deuteranopia (green-blind)
#20283A
Tritanopia (blue-blind)
#451423
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103b;
/* rgb */ color: rgb(66, 16, 59);
/* oklch */ color: oklch(27.7% 0.096 333.9);
Tailwind
colors: {
  custom: {
    50: '#785371',
    500: '#42103b',
    950: '#000000',
  },
}
SCSS
$custom: #42103b;
$custom-light: #785371;
$custom-dark: #000000;
JSON
{
  "hex": "#42103b",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 308.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.09573,
    "h": 333.9
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#42103B
secondary
#327C3C
accent
#E45A44
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42103B

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

Preview Lab → · Contrast checker → · Palette generator →

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