#1A0232#1A0232

#1A0232 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.090 H 301.3°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#1A0232
RGBrgb(26, 2, 50)
HSLhsl(270, 92%, 10%)
HSVhsv(270, 96%, 20%)
CMYKcmyk(48%, 96%, 0%, 80.4%)
CIE-LABlab(4.46, 22.23, -25.53)
CIE-LCHlch(4.46, 33.85, 311.06°)
OKLaboklab(18.2% 0.0465 -0.0765)
OKLCHoklch(18.2% 0.09 301.3)
XYZxyz(1.0233, 0.4933, 3.0583)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0232 #1A3202
analogous
#020232 #1A0232 #320232
triadic
#1A0232 #321A02 #02321A
tetradic
#1A0232 #320202 #1A3202 #023232
square
#1A0232 #320202 #1A3202 #023232
split-complementary
#1A0232 #323202 #023202
monochromatic
#0F011D #0F011D #1A0232 #39046D #5707A8

Accessibility & contrast

On white

19.12
#1A0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1A0232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0232
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0232#FFFFFF#000000##FFFFFF
##1A02321.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#140E1A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a0232;
/* rgb */ color: rgb(26, 2, 50);
/* oklch */ color: oklch(18.2% 0.090 301.3);
Tailwind
colors: {
  custom: {
    50: '#59466a',
    500: '#1a0232',
    950: '#000000',
  },
}
SCSS
$custom: #1a0232;
$custom-light: #59466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0232",
  "rgb": {
    "r": 26,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 270,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18202,
    "c": 0.08955,
    "h": 301.3
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#1A0232
secondary
#487619
accent
#FF2994
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0232

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

Preview Lab → · Contrast checker → · Palette generator →

#1A0232 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva