#210730#210730

#210730 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.079 H 310.2°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#210730
RGBrgb(33, 7, 48)
HSLhsl(278, 75%, 11%)
HSVhsv(278, 85%, 19%)
CMYKcmyk(31.3%, 85.4%, 0%, 81.2%)
CIE-LABlab(6.22, 21.82, -21.16)
CIE-LCHlch(6.22, 30.40, 315.87°)
OKLaboklab(20.02% 0.0513 -0.0606)
OKLCHoklch(20.02% 0.079 310.2)
XYZxyz(1.2366, 0.6887, 2.8635)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210730 #163007
analogous
#0C0730 #210730 #30072A
triadic
#210730 #302107 #073021
tetradic
#210730 #300C07 #163007 #072A30
square
#210730 #300C07 #163007 #072A30
split-complementary
#210730 #2A3007 #07300C
monochromatic
#12041B #12041B #210730 #460F65 #6A179B

Accessibility & contrast

On white

18.46
#210730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210730
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210730#FFFFFF#000000##FFFFFF
##2107301.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210730;
/* rgb */ color: rgb(33, 7, 48);
/* oklch */ color: oklch(20.0% 0.079 310.2);
Tailwind
colors: {
  custom: {
    50: '#5e4968',
    500: '#210730',
    950: '#000000',
  },
}
SCSS
$custom: #210730;
$custom-light: #5e4968;
$custom-dark: #000000;
JSON
{
  "hex": "#210730",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 278.049,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20023,
    "c": 0.07942,
    "h": 310.2
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#210730
secondary
#3F7023
accent
#F1377B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210730

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

Preview Lab → · Contrast checker → · Palette generator →

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