#42103F#42103F

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

Color values

HEX#42103F
RGBrgb(66, 16, 63)
HSLhsl(304, 61%, 16%)
HSVhsv(304, 76%, 26%)
CMYKcmyk(0%, 75.8%, 4.5%, 74.1%)
CIE-LABlab(14.89, 30.46, -17.84)
CIE-LCHlch(14.89, 35.30, 329.64°)
OKLaboklab(27.93% 0.0864 -0.0491)
OKLCHoklch(27.93% 0.099 330.4)
XYZxyz(3.3292, 1.8880, 4.8907)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42103F #104213
analogous
#2C1042 #42103F #421026
triadic
#42103F #3F4210 #103F42
tetradic
#42103F #422C10 #104213 #102642
square
#42103F #422C10 #104213 #102642
split-complementary
#42103F #264210 #10422C
monochromatic
#190618 #190618 #42103F #731C6E #A5289D

Accessibility & contrast

On white

15.24
#42103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42103F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42103F#FFFFFF#000000##FFFFFF
##42103F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2140
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#451626
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42103f;
/* rgb */ color: rgb(66, 16, 63);
/* oklch */ color: oklch(27.9% 0.099 330.4);
Tailwind
colors: {
  custom: {
    50: '#785374',
    500: '#42103f',
    950: '#000000',
  },
}
SCSS
$custom: #42103f;
$custom-light: #785374;
$custom-dark: #000000;
JSON
{
  "hex": "#42103f",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 303.6,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27927,
    "c": 0.09938,
    "h": 330.4
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#42103F
secondary
#327C36
accent
#E44D44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42103F

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

Preview Lab → · Contrast checker → · Palette generator →

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