#210339#210339

#210339 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.097 H 304.3°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#210339
RGBrgb(33, 3, 57)
HSLhsl(273, 90%, 12%)
HSVhsv(273, 95%, 22%)
CMYKcmyk(42.1%, 94.7%, 0%, 77.6%)
CIE-LABlab(6.18, 26.92, -27.85)
CIE-LCHlch(6.18, 38.73, 314.02°)
OKLaboklab(20.26% 0.0547 -0.0803)
OKLCHoklch(20.26% 0.097 304.3)
XYZxyz(1.3981, 0.6839, 3.9284)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210339 #1B3903
analogous
#060339 #210339 #390336
triadic
#210339 #392103 #033921
tetradic
#210339 #390603 #1B3903 #033639
square
#210339 #390603 #1B3903 #033639
split-complementary
#210339 #363903 #033906
monochromatic
#11021D #11021D #210339 #430673 #6409AD

Accessibility & contrast

On white

18.47
#210339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#210339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210339
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210339#FFFFFF#000000##FFFFFF
##2103391.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#1C111E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210339;
/* rgb */ color: rgb(33, 3, 57);
/* oklch */ color: oklch(20.3% 0.097 304.3);
Tailwind
colors: {
  custom: {
    50: '#604770',
    500: '#210339',
    950: '#000000',
  },
}
SCSS
$custom: #210339;
$custom-light: #604770;
$custom-dark: #000000;
JSON
{
  "hex": "#210339",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 273.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2026,
    "c": 0.09713,
    "h": 304.3
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#210339
secondary
#477C1C
accent
#FF2988
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #210339

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

Preview Lab → · Contrast checker → · Palette generator →

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