#190C3E#190C3E

#190C3E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.089 H 288.1°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#190C3E
RGBrgb(25, 12, 62)
HSLhsl(256, 68%, 15%)
HSVhsv(256, 81%, 24%)
CMYKcmyk(59.7%, 80.6%, 0%, 75.7%)
CIE-LABlab(7.38, 21.82, -29.54)
CIE-LCHlch(7.38, 36.73, 306.45°)
OKLaboklab(21.1% 0.0278 -0.085)
OKLCHoklch(21.1% 0.089 288.1)
XYZxyz(1.4016, 0.8174, 4.6404)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C3E #313E0C
analogous
#0C183E #190C3E #320C3E
triadic
#190C3E #3E190C #0C3E19
tetradic
#190C3E #3E0C18 #313E0C #0C3E32
square
#190C3E #3E0C18 #313E0C #0C3E32
split-complementary
#190C3E #3E320C #183E0C
monochromatic
#0A051A #0A051A #190C3E #2E1671 #4220A5

Accessibility & contrast

On white

18.05
#190C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#190C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C3E
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C3E#FFFFFF#000000##FFFFFF
##190C3E1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#0B1924
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #190c3e;
/* rgb */ color: rgb(25, 12, 62);
/* oklch */ color: oklch(21.1% 0.089 288.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c74',
    500: '#190c3e',
    950: '#000000',
  },
}
SCSS
$custom: #190c3e;
$custom-light: #5b4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#190c3e",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 255.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21104,
    "c": 0.0894,
    "h": 288.1
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#190C3E
secondary
#667A2C
accent
#EA3DBD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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