#200742#200742

#200742 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.102 H 295.9°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#200742
RGBrgb(32, 7, 66)
HSLhsl(265, 81%, 14%)
HSVhsv(265, 89%, 26%)
CMYKcmyk(51.5%, 89.4%, 0%, 74.1%)
CIE-LABlab(7.70, 27.44, -31.84)
CIE-LCHlch(7.70, 42.03, 310.75°)
OKLaboklab(21.68% 0.0443 -0.0913)
OKLCHoklch(21.68% 0.102 295.9)
XYZxyz(1.6547, 0.8523, 5.2305)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200742 #294207
analogous
#070B42 #200742 #3E0742
triadic
#200742 #422007 #074220
tetradic
#200742 #42070B #294207 #07423E
square
#200742 #42070B #294207 #07423E
split-complementary
#200742 #423E07 #0B4207
monochromatic
#0D031C #0D031C #200742 #3B0D79 #5613B1

Accessibility & contrast

On white

17.94
#200742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#200742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200742
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200742#FFFFFF#000000##FFFFFF
##2007421.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#161825
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #200742;
/* rgb */ color: rgb(32, 7, 66);
/* oklch */ color: oklch(21.7% 0.102 295.9);
Tailwind
colors: {
  custom: {
    50: '#604a77',
    500: '#200742',
    950: '#000000',
  },
}
SCSS
$custom: #200742;
$custom-light: #604a77;
$custom-dark: #000000;
JSON
{
  "hex": "#200742",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 265.424,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21683,
    "c": 0.1015,
    "h": 295.9
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#200742
secondary
#5A8124
accent
#F731A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200742

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

Preview Lab → · Contrast checker → · Palette generator →

#200742 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva