#200340#200340

#200340 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.9% C 0.105 H 298.4°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#200340
RGBrgb(32, 3, 64)
HSLhsl(269, 91%, 13%)
HSVhsv(269, 95%, 25%)
CMYKcmyk(50%, 95.3%, 0%, 74.9%)
CIE-LABlab(6.71, 29.02, -32.05)
CIE-LCHlch(6.71, 43.23, 312.16°)
OKLaboklab(20.88% 0.0498 -0.0922)
OKLCHoklch(20.88% 0.105 298.4)
XYZxyz(1.5534, 0.7423, 4.9109)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200340 #234003
analogous
#030440 #200340 #3E0340
triadic
#200340 #402003 #034020
tetradic
#200340 #400304 #234003 #03403E
square
#200340 #400304 #234003 #03403E
split-complementary
#200340 #403E03 #044003
monochromatic
#0F011D #0F011D #200340 #3D067A #5A08B5

Accessibility & contrast

On white

18.29
#200340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#200340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200340
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200340#FFFFFF#000000##FFFFFF
##2003401.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#181522
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #200340;
/* rgb */ color: rgb(32, 3, 64);
/* oklch */ color: oklch(20.9% 0.105 298.4);
Tailwind
colors: {
  custom: {
    50: '#604775',
    500: '#200340',
    950: '#000000',
  },
}
SCSS
$custom: #200340;
$custom-light: #604775;
$custom-dark: #000000;
JSON
{
  "hex": "#200340",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 268.525,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2088,
    "c": 0.10477,
    "h": 298.4
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#200340
secondary
#52821D
accent
#FF2999
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #200340

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

Preview Lab → · Contrast checker → · Palette generator →

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