#20093B#20093B

#20093B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.090 H 299.5°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#20093B
RGBrgb(32, 9, 59)
HSLhsl(268, 74%, 13%)
HSVhsv(268, 85%, 23%)
CMYKcmyk(45.8%, 84.7%, 0%, 76.9%)
CIE-LABlab(7.39, 24.11, -27.34)
CIE-LCHlch(7.39, 36.45, 311.41°)
OKLaboklab(21.24% 0.0443 -0.0782)
OKLCHoklch(21.24% 0.09 299.5)
XYZxyz(1.4826, 0.8182, 4.2166)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20093B #243B09
analogous
#090B3B #20093B #39093B
triadic
#20093B #3B2009 #093B20
tetradic
#20093B #3B090B #243B09 #093B39
square
#20093B #3B090B #243B09 #093B39
split-complementary
#20093B #3B3909 #0B3B09
monochromatic
#0E041B #0E041B #20093B #3D1170 #5A19A5

Accessibility & contrast

On white

18.05
#20093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#20093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20093B
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20093B#FFFFFF#000000##FFFFFF
##20093B1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#1A1621
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #20093b;
/* rgb */ color: rgb(32, 9, 59);
/* oklch */ color: oklch(21.2% 0.090 299.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a71',
    500: '#20093b',
    950: '#000000',
  },
}
SCSS
$custom: #20093b;
$custom-light: #5f4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#20093b",
  "rgb": {
    "r": 32,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 267.6,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21235,
    "c": 0.08985,
    "h": 299.5
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#20093B
secondary
#537927
accent
#F0389B
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #20093B

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

Preview Lab → · Contrast checker → · Palette generator →

#20093B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva