#1A0231#1A0231

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

Color values

HEX#1A0231
RGBrgb(26, 2, 49)
HSLhsl(271, 92%, 10%)
HSVhsv(271, 96%, 19%)
CMYKcmyk(46.9%, 95.9%, 0%, 80.8%)
CIE-LABlab(4.38, 21.79, -24.90)
CIE-LCHlch(4.38, 33.09, 311.19°)
OKLaboklab(18.09% 0.047 -0.0749)
OKLCHoklch(18.09% 0.088 302.1)
XYZxyz(1.0020, 0.4848, 2.9459)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0231 #193102
analogous
#020231 #1A0231 #310231
triadic
#1A0231 #311A02 #02311A
tetradic
#1A0231 #310202 #193102 #023131
square
#1A0231 #310202 #193102 #023131
split-complementary
#1A0231 #313102 #023102
monochromatic
#10011D #10011D #1A0231 #39046C #5807A7

Accessibility & contrast

On white

19.14
#1A0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0231
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0231#FFFFFF#000000##FFFFFF
##1A02311.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0231;
/* rgb */ color: rgb(26, 2, 49);
/* oklch */ color: oklch(18.1% 0.088 302.1);
Tailwind
colors: {
  custom: {
    50: '#594669',
    500: '#1a0231',
    950: '#000000',
  },
}
SCSS
$custom: #1a0231;
$custom-light: #594669;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0231",
  "rgb": {
    "r": 26,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 270.638,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.18088,
    "c": 0.08841,
    "h": 302.1
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#1A0231
secondary
#467519
accent
#FF2992
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0231

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

Preview Lab → · Contrast checker → · Palette generator →

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