#210741#210741

#210741 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.100 H 297.6°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#210741
RGBrgb(33, 7, 65)
HSLhsl(267, 81%, 14%)
HSVhsv(267, 89%, 25%)
CMYKcmyk(49.2%, 89.2%, 0%, 74.5%)
CIE-LABlab(7.74, 27.32, -31.06)
CIE-LCHlch(7.74, 41.37, 311.34°)
OKLaboklab(21.71% 0.0465 -0.089)
OKLCHoklch(21.71% 0.1 297.6)
XYZxyz(1.6571, 0.8569, 5.0781)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210741 #274107
analogous
#070A41 #210741 #3E0741
triadic
#210741 #412107 #074121
tetradic
#210741 #41070A #274107 #07413E
square
#210741 #41070A #274107 #07413E
split-complementary
#210741 #413E07 #0A4107
monochromatic
#0E031C #0E031C #210741 #3D0D78 #5913B0

Accessibility & contrast

On white

17.93
#210741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210741
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210741#FFFFFF#000000##FFFFFF
##2107411.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#191724
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210741;
/* rgb */ color: rgb(33, 7, 65);
/* oklch */ color: oklch(21.7% 0.100 297.6);
Tailwind
colors: {
  custom: {
    50: '#614a76',
    500: '#210741',
    950: '#000000',
  },
}
SCSS
$custom: #210741;
$custom-light: #614a76;
$custom-dark: #000000;
JSON
{
  "hex": "#210741",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 266.897,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21713,
    "c": 0.10038,
    "h": 297.6
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#210741
secondary
#578024
accent
#F7319E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210741

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

Preview Lab → · Contrast checker → · Palette generator →

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