#1A0230#1A0230

#1A0230 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.087 H 302.9°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#1A0230
RGBrgb(26, 2, 48)
HSLhsl(271, 92%, 10%)
HSVhsv(271, 96%, 19%)
CMYKcmyk(45.8%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.30, 21.35, -24.28)
CIE-LCHlch(4.30, 32.33, 311.33°)
OKLaboklab(17.98% 0.0475 -0.0732)
OKLCHoklch(17.98% 0.087 302.9)
XYZxyz(0.9811, 0.4764, 2.8360)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0230 #183002
analogous
#030230 #1A0230 #30022F
triadic
#1A0230 #301A02 #02301A
tetradic
#1A0230 #300302 #183002 #022F30
square
#1A0230 #300302 #183002 #022F30
split-complementary
#1A0230 #2F3002 #023003
monochromatic
#10011D #10011D #1A0230 #3A046B #5A07A6

Accessibility & contrast

On white

19.17
#1A0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0230
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0230#FFFFFF#000000##FFFFFF
##1A02301.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#150D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a0230;
/* rgb */ color: rgb(26, 2, 48);
/* oklch */ color: oklch(18.0% 0.087 302.9);
Tailwind
colors: {
  custom: {
    50: '#584669',
    500: '#1a0230',
    950: '#000000',
  },
}
SCSS
$custom: #1a0230;
$custom-light: #584669;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0230",
  "rgb": {
    "r": 26,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 271.304,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17976,
    "c": 0.08726,
    "h": 302.9
  },
  "luminance": 0.00476
}

Semantic roles & 50–950 ramp

primary
#1A0230
secondary
#457519
accent
#FF298F
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A0230

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

Preview Lab → · Contrast checker → · Palette generator →

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