#0A0232#0A0232

#0A0232 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.090 H 279.6°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#0A0232
RGBrgb(10, 2, 50)
HSLhsl(250, 92%, 10%)
HSVhsv(250, 96%, 20%)
CMYKcmyk(80%, 96%, 0%, 80.4%)
CIE-LABlab(3.05, 16.42, -27.85)
CIE-LCHlch(3.05, 32.33, 300.53°)
OKLaboklab(16.08% 0.015 -0.0886)
OKLCHoklch(16.08% 0.09 279.6)
XYZxyz(0.7224, 0.3382, 3.0442)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0232 #2A3202
analogous
#021232 #0A0232 #220232
triadic
#0A0232 #320A02 #02320A
tetradic
#0A0232 #320212 #2A3202 #023222
square
#0A0232 #320212 #2A3202 #023222
split-complementary
#0A0232 #322202 #123202
monochromatic
#06011D #06011D #0A0232 #16046D #2207A8

Accessibility & contrast

On white

19.67
#0A0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A0232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0A0232#FFFFFF#000000##FFFFFF
##0A02321.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000931
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a0232;
/* rgb */ color: rgb(10, 2, 50);
/* oklch */ color: oklch(16.1% 0.090 279.6);
Tailwind
colors: {
  custom: {
    50: '#4e476a',
    500: '#0a0232',
    950: '#000000',
  },
}
SCSS
$custom: #0a0232;
$custom-light: #4e476a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0232",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 250,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.1608,
    "c": 0.08982,
    "h": 279.6
  },
  "luminance": 0.00338
}

Semantic roles & 50–950 ramp

primary
#0A0232
secondary
#677619
accent
#FF29DB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0232

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

Preview Lab → · Contrast checker → · Palette generator →

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