#0A0328#0A0328

#0A0328 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.0% C 0.074 H 284.1°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#0A0328
RGBrgb(10, 3, 40)
HSLhsl(251, 86%, 8%)
HSVhsv(251, 93%, 16%)
CMYKcmyk(75%, 92.5%, 0%, 84.3%)
CIE-LABlab(2.55, 11.13, -21.07)
CIE-LCHlch(2.55, 23.83, 297.85°)
OKLaboklab(14.98% 0.018 -0.0714)
OKLCHoklch(14.98% 0.074 284.1)
XYZxyz(0.5406, 0.2828, 2.0332)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0328 #212803
analogous
#030E28 #0A0328 #1C0328
triadic
#0A0328 #280A03 #03280A
tetradic
#0A0328 #28030E #212803 #03281C
square
#0A0328 #28030E #212803 #03281C
split-complementary
#0A0328 #281C03 #0E2803
monochromatic
#07021C #07021C #0A0328 #180761 #260C9A

Accessibility & contrast

On white

19.88
#0A0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A0328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0328
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0328#FFFFFF#000000##FFFFFF
##0A03281.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A29
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#000C14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a0328;
/* rgb */ color: rgb(10, 3, 40);
/* oklch */ color: oklch(15.0% 0.074 284.1);
Tailwind
colors: {
  custom: {
    50: '#4b4862',
    500: '#0a0328',
    950: '#000000',
  },
}
SCSS
$custom: #0a0328;
$custom-light: #4b4862;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0328",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 251.351,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14977,
    "c": 0.07364,
    "h": 284.1
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

primary
#0A0328
secondary
#5D6C1B
accent
#FC2CD5
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A0328

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

Preview Lab → · Contrast checker → · Palette generator →

#0A0328 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva