#210E40#210E40

#210E40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.090 H 295.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#210E40
RGBrgb(33, 14, 64)
HSLhsl(263, 64%, 15%)
HSVhsv(263, 78%, 25%)
CMYKcmyk(48.4%, 78.1%, 0%, 74.9%)
CIE-LABlab(9.05, 23.01, -28.20)
CIE-LCHlch(9.05, 36.40, 309.21°)
OKLaboklab(22.61% 0.039 -0.0806)
OKLCHoklch(22.61% 0.09 295.8)
XYZxyz(1.7094, 1.0075, 4.9539)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E40 #2D400E
analogous
#0E1440 #210E40 #3A0E40
triadic
#210E40 #40210E #0E4021
tetradic
#210E40 #400E14 #2D400E #0E403A
square
#210E40 #400E14 #2D400E #0E403A
split-complementary
#210E40 #403A0E #14400E
monochromatic
#0D0519 #0D0519 #210E40 #3B1972 #5524A4

Accessibility & contrast

On white

17.48
#210E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210E40
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E40#FFFFFF#000000##FFFFFF
##210E401.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#191A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210e40;
/* rgb */ color: rgb(33, 14, 64);
/* oklch */ color: oklch(22.6% 0.090 295.8);
Tailwind
colors: {
  custom: {
    50: '#604e75',
    500: '#210e40',
    950: '#000000',
  },
}
SCSS
$custom: #210e40;
$custom-light: #604e75;
$custom-dark: #000000;
JSON
{
  "hex": "#210e40",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 262.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2261,
    "c": 0.08954,
    "h": 295.8
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#210E40
secondary
#5E7B2F
accent
#E741A8
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210E40

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

Preview Lab → · Contrast checker → · Palette generator →

#210E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva