#42103E#42103E

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

Color values

HEX#42103E
RGBrgb(66, 16, 62)
HSLhsl(305, 61%, 16%)
HSVhsv(305, 76%, 26%)
CMYKcmyk(0%, 75.8%, 6.1%, 74.1%)
CIE-LABlab(14.83, 30.26, -17.23)
CIE-LCHlch(14.83, 34.83, 330.35°)
OKLaboklab(27.86% 0.0863 -0.0474)
OKLCHoklch(27.86% 0.098 331.2)
XYZxyz(3.3016, 1.8769, 4.7449)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103E #104214
analogous
#2D1042 #42103E #421025
triadic
#42103E #3E4210 #103E42
tetradic
#42103E #422D10 #104214 #102542
square
#42103E #422D10 #104214 #102542
split-complementary
#42103E #254210 #10422D
monochromatic
#190617 #190617 #42103E #731C6C #A5289B

Accessibility & contrast

On white

15.27
#42103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#42103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42103E
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103E#FFFFFF#000000##FFFFFF
##42103E1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#451525
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103e;
/* rgb */ color: rgb(66, 16, 62);
/* oklch */ color: oklch(27.9% 0.098 331.2);
Tailwind
colors: {
  custom: {
    50: '#785373',
    500: '#42103e',
    950: '#000000',
  },
}
SCSS
$custom: #42103e;
$custom-light: #785373;
$custom-dark: #000000;
JSON
{
  "hex": "#42103e",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 304.8,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27863,
    "c": 0.09846,
    "h": 331.2
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#42103E
secondary
#327C38
accent
#E45144
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42103E

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

Preview Lab → · Contrast checker → · Palette generator →

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