#1C0B4B#1C0B4B

#1C0B4B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.108 H 286.2°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#1C0B4B
RGBrgb(28, 11, 75)
HSLhsl(256, 74%, 17%)
HSVhsv(256, 85%, 29%)
CMYKcmyk(62.7%, 85.3%, 0%, 70.6%)
CIE-LABlab(8.94, 27.43, -36.15)
CIE-LCHlch(8.94, 45.37, 307.19°)
OKLaboklab(22.74% 0.0303 -0.1041)
OKLCHoklch(22.74% 0.108 286.2)
XYZxyz(1.8682, 0.9941, 6.7487)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0B4B #3A4B0B
analogous
#0B1A4B #1C0B4B #3C0B4B
triadic
#1C0B4B #4B1C0B #0B4B1C
tetradic
#1C0B4B #4B0B1A #3A4B0B #0B4B3C
square
#1C0B4B #4B0B1A #3A4B0B #0B4B3C
split-complementary
#1C0B4B #4B3C0B #1A4B0B
monochromatic
#0A041B #0A041B #1C0B4B #301380 #441BB6

Accessibility & contrast

On white

17.52
#1C0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1C0B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0B4B
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0B4B#FFFFFF#000000##FFFFFF
##1C0B4B1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#061D2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c0b4b;
/* rgb */ color: rgb(28, 11, 75);
/* oklch */ color: oklch(22.7% 0.108 286.2);
Tailwind
colors: {
  custom: {
    50: '#5f4c7e',
    500: '#1c0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #1c0b4b;
$custom-light: #5f4c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0b4b",
  "rgb": {
    "r": 28,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 255.938,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22735,
    "c": 0.10839,
    "h": 286.2
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#1C0B4B
secondary
#6F872B
accent
#F137C0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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