#190331#190331

#190331 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.086 H 300.3°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#190331
RGBrgb(25, 3, 49)
HSLhsl(269, 88%, 10%)
HSVhsv(269, 94%, 19%)
CMYKcmyk(49%, 93.9%, 0%, 80.8%)
CIE-LABlab(4.46, 20.93, -24.79)
CIE-LCHlch(4.46, 32.44, 310.18°)
OKLaboklab(18.13% 0.0434 -0.0744)
OKLCHoklch(18.13% 0.086 300.3)
XYZxyz(0.9877, 0.4935, 2.9484)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190331 #1B3103
analogous
#030431 #190331 #300331
triadic
#190331 #311903 #033119
tetradic
#190331 #310304 #1B3103 #033130
square
#190331 #310304 #1B3103 #033130
split-complementary
#190331 #313003 #043103
monochromatic
#0F021D #0F021D #190331 #36076B #540AA4

Accessibility & contrast

On white

19.11
#190331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#190331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190331
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190331#FFFFFF#000000##FFFFFF
##1903311.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#130F19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #190331;
/* rgb */ color: rgb(25, 3, 49);
/* oklch */ color: oklch(18.1% 0.086 300.3);
Tailwind
colors: {
  custom: {
    50: '#584769',
    500: '#190331',
    950: '#000000',
  },
}
SCSS
$custom: #190331;
$custom-light: #584769;
$custom-dark: #000000;
JSON
{
  "hex": "#190331",
  "rgb": {
    "r": 25,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 268.696,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18132,
    "c": 0.08614,
    "h": 300.3
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#190331
secondary
#4A741B
accent
#FF2999
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #190331

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

Preview Lab → · Contrast checker → · Palette generator →

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