#0A0230#0A0230

#0A0230 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.087 H 280.5°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#0A0230
RGBrgb(10, 2, 48)
HSLhsl(250, 92%, 10%)
HSVhsv(250, 96%, 19%)
CMYKcmyk(79.2%, 95.8%, 0%, 81.2%)
CIE-LABlab(2.90, 15.35, -26.60)
CIE-LCHlch(2.90, 30.71, 300.00°)
OKLaboklab(15.8% 0.0159 -0.0856)
OKLCHoklch(15.8% 0.087 280.5)
XYZxyz(0.6802, 0.3213, 2.8219)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0230 #283002
analogous
#021130 #0A0230 #210230
triadic
#0A0230 #300A02 #02300A
tetradic
#0A0230 #300211 #283002 #023021
square
#0A0230 #300211 #283002 #023021
split-complementary
#0A0230 #302102 #113002
monochromatic
#06011D #06011D #0A0230 #16046B #2207A6

Accessibility & contrast

On white

19.73
#0A0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A0230#FFFFFF#000000##FFFFFF
##0A02301.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00092F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a0230;
/* rgb */ color: rgb(10, 2, 48);
/* oklch */ color: oklch(15.8% 0.087 280.5);
Tailwind
colors: {
  custom: {
    50: '#4d4769',
    500: '#0a0230',
    950: '#000000',
  },
}
SCSS
$custom: #0a0230;
$custom-light: #4d4769;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0230",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 250.435,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15795,
    "c": 0.08709,
    "h": 280.5
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#0A0230
secondary
#657519
accent
#FF29DA
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0230

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

Preview Lab → · Contrast checker → · Palette generator →

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