#210830#210830

#210830 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.078 H 309.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#210830
RGBrgb(33, 8, 48)
HSLhsl(278, 71%, 11%)
HSVhsv(278, 83%, 19%)
CMYKcmyk(31.3%, 83.3%, 0%, 81.2%)
CIE-LABlab(6.42, 21.31, -20.85)
CIE-LCHlch(6.42, 29.82, 315.63°)
OKLaboklab(20.19% 0.0497 -0.0596)
OKLCHoklch(20.19% 0.078 309.9)
XYZxyz(1.2474, 0.7104, 2.8671)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210830 #173008
analogous
#0D0830 #210830 #30082B
triadic
#210830 #302108 #083021
tetradic
#210830 #300D08 #173008 #082B30
square
#210830 #300D08 #173008 #082B30
split-complementary
#210830 #2B3008 #08300D
monochromatic
#12041A #12041A #210830 #451164 #691999

Accessibility & contrast

On white

18.39
#210830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210830
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210830#FFFFFF#000000##FFFFFF
##2108301.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#03152F
Tritanopia (blue-blind)
#1F111B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210830;
/* rgb */ color: rgb(33, 8, 48);
/* oklch */ color: oklch(20.2% 0.078 309.9);
Tailwind
colors: {
  custom: {
    50: '#5e4a68',
    500: '#210830',
    950: '#000000',
  },
}
SCSS
$custom: #210830;
$custom-light: #5e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#210830",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 277.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20186,
    "c": 0.0776,
    "h": 309.9
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#210830
secondary
#416F25
accent
#EE3A7D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210830

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

Preview Lab → · Contrast checker → · Palette generator →

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