#190C52#190C52

#190C52 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.117 H 280.8°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#190C52
RGBrgb(25, 12, 82)
HSLhsl(251, 74%, 18%)
HSVhsv(251, 85%, 32%)
CMYKcmyk(69.5%, 85.4%, 0%, 67.8%)
CIE-LABlab(9.63, 28.81, -39.86)
CIE-LCHlch(9.63, 49.18, 305.86°)
OKLaboklab(23.38% 0.022 -0.115)
OKLCHoklch(23.38% 0.117 280.8)
XYZxyz(2.0549, 1.0787, 8.0809)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C52 #45520C
analogous
#0C2252 #190C52 #3C0C52
triadic
#190C52 #52190C #0C5219
tetradic
#190C52 #520C22 #45520C #0C523C
square
#190C52 #520C22 #45520C #0C523C
split-complementary
#190C52 #523C0C #22520C
monochromatic
#08041B #09041D #190C52 #291487 #3A1CBD

Accessibility & contrast

On white

17.27
#190C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#190C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C52
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C52#FFFFFF#000000##FFFFFF
##190C521.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001851
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #190c52;
/* rgb */ color: rgb(25, 12, 82);
/* oklch */ color: oklch(23.4% 0.117 280.8);
Tailwind
colors: {
  custom: {
    50: '#5f4d83',
    500: '#190c52',
    950: '#000000',
  },
}
SCSS
$custom: #190c52;
$custom-light: #5f4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#190c52",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 251.143,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23382,
    "c": 0.11712,
    "h": 280.8
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#190C52
secondary
#7B8D2C
accent
#F137CE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #190C52

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

Preview Lab → · Contrast checker → · Palette generator →

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