#200740#200740

#200740 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.099 H 297.1°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#200740
RGBrgb(32, 7, 64)
HSLhsl(266, 80%, 14%)
HSVhsv(266, 89%, 25%)
CMYKcmyk(50%, 89.1%, 0%, 74.9%)
CIE-LABlab(7.49, 26.81, -30.76)
CIE-LCHlch(7.49, 40.80, 311.07°)
OKLaboklab(21.47% 0.0451 -0.0882)
OKLCHoklch(21.47% 0.099 297.1)
XYZxyz(1.5968, 0.8292, 4.9254)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200740 #274007
analogous
#070B40 #200740 #3D0740
triadic
#200740 #402007 #074020
tetradic
#200740 #40070B #274007 #07403D
square
#200740 #40070B #274007 #07403D
split-complementary
#200740 #403D07 #0B4007
monochromatic
#0E031C #0E031C #200740 #3C0D77 #5713AE

Accessibility & contrast

On white

18.01
#200740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200740
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200740#FFFFFF#000000##FFFFFF
##2007401.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#171723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #200740;
/* rgb */ color: rgb(32, 7, 64);
/* oklch */ color: oklch(21.5% 0.099 297.1);
Tailwind
colors: {
  custom: {
    50: '#604a75',
    500: '#200740',
    950: '#000000',
  },
}
SCSS
$custom: #200740;
$custom-light: #604a75;
$custom-dark: #000000;
JSON
{
  "hex": "#200740",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 266.316,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21466,
    "c": 0.09902,
    "h": 297.1
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#200740
secondary
#577F24
accent
#F731A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200740

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

Preview Lab → · Contrast checker → · Palette generator →

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