#190F3F#190F3F

#190F3F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 286.3°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#190F3F
RGBrgb(25, 15, 63)
HSLhsl(253, 62%, 15%)
HSVhsv(253, 76%, 25%)
CMYKcmyk(60.3%, 76.2%, 0%, 75.3%)
CIE-LABlab(8.19, 20.26, -28.94)
CIE-LCHlch(8.19, 35.33, 305.00°)
OKLaboklab(21.73% 0.0243 -0.0831)
OKLCHoklch(21.73% 0.087 286.3)
XYZxyz(1.4687, 0.9071, 4.7994)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190F3F #353F0F
analogous
#0F1D3F #190F3F #310F3F
triadic
#190F3F #3F190F #0F3F19
tetradic
#190F3F #3F0F1D #353F0F #0F3F31
square
#190F3F #3F0F1D #353F0F #0F3F31
split-complementary
#190F3F #3F310F #1D3F0F
monochromatic
#0A0619 #0A0619 #190F3F #2D1B70 #4027A2

Accessibility & contrast

On white

17.78
#190F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#190F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190F3F
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190F3F#FFFFFF#000000##FFFFFF
##190F3F1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#0A1B25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #190f3f;
/* rgb */ color: rgb(25, 15, 63);
/* oklch */ color: oklch(21.7% 0.087 286.3);
Tailwind
colors: {
  custom: {
    50: '#5a4e74',
    500: '#190f3f',
    950: '#000000',
  },
}
SCSS
$custom: #190f3f;
$custom-light: #5a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#190f3f",
  "rgb": {
    "r": 25,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 252.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21727,
    "c": 0.08659,
    "h": 286.3
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#190F3F
secondary
#6A7930
accent
#E543C3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#190F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva