#210235#210235

#210235 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.095 H 307.7°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#210235
RGBrgb(33, 2, 53)
HSLhsl(276, 93%, 11%)
HSVhsv(276, 96%, 21%)
CMYKcmyk(37.7%, 96.2%, 0%, 79.2%)
CIE-LABlab(5.63, 26.06, -25.80)
CIE-LCHlch(5.63, 36.67, 315.28°)
OKLaboklab(19.67% 0.0579 -0.0749)
OKLCHoklch(19.67% 0.095 307.7)
XYZxyz(1.2914, 0.6238, 3.4198)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210235 #163502
analogous
#080235 #210235 #35022F
triadic
#210235 #352102 #023521
tetradic
#210235 #350802 #163502 #022F35
square
#210235 #350802 #163502 #022F35
split-complementary
#210235 #2F3502 #023508
monochromatic
#12011D #12011D #210235 #460470 #6A06AB

Accessibility & contrast

On white

18.67
#210235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#210235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210235
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210235#FFFFFF#000000##FFFFFF
##2102351.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#1E0F1C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #210235;
/* rgb */ color: rgb(33, 2, 53);
/* oklch */ color: oklch(19.7% 0.095 307.7);
Tailwind
colors: {
  custom: {
    50: '#5f476d',
    500: '#210235',
    950: '#000000',
  },
}
SCSS
$custom: #210235;
$custom-light: #5f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#210235",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 276.471,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.09461,
    "h": 307.7
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#210235
secondary
#3F791A
accent
#FF297D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #210235

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

Preview Lab → · Contrast checker → · Palette generator →

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