#42113F#42113F

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

Color values

HEX#42113F
RGBrgb(66, 17, 63)
HSLhsl(304, 59%, 16%)
HSVhsv(304, 74%, 26%)
CMYKcmyk(0%, 74.2%, 4.5%, 74.1%)
CIE-LABlab(15.05, 30.00, -17.58)
CIE-LCHlch(15.05, 34.77, 329.63°)
OKLaboklab(28.05% 0.0851 -0.0484)
OKLCHoklch(28.05% 0.098 330.4)
XYZxyz(3.3444, 1.9183, 4.8958)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113F #114214
analogous
#2D1142 #42113F #421127
triadic
#42113F #3F4211 #113F42
tetradic
#42113F #422D11 #114214 #112742
square
#42113F #422D11 #114214 #112742
split-complementary
#42113F #274211 #11422D
monochromatic
#180617 #180617 #42113F #731E6D #A32A9C

Accessibility & contrast

On white

15.18
#42113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42113F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113F#FFFFFF#000000##FFFFFF
##42113F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2140
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#451626
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42113f;
/* rgb */ color: rgb(66, 17, 63);
/* oklch */ color: oklch(28.0% 0.098 330.4);
Tailwind
colors: {
  custom: {
    50: '#785474',
    500: '#42113f',
    950: '#000000',
  },
}
SCSS
$custom: #42113f;
$custom-light: #785474;
$custom-dark: #000000;
JSON
{
  "hex": "#42113f",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 303.673,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.09787,
    "h": 330.4
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#42113F
secondary
#337C38
accent
#E24F46
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42113F

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

Preview Lab → · Contrast checker → · Palette generator →

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