#0A0231#0A0231

#0A0231 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.088 H 280.1°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#0A0231
RGBrgb(10, 2, 49)
HSLhsl(250, 92%, 10%)
HSVhsv(250, 96%, 19%)
CMYKcmyk(79.6%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.98, 15.89, -27.23)
CIE-LCHlch(2.98, 31.52, 300.26°)
OKLaboklab(15.94% 0.0154 -0.0871)
OKLCHoklch(15.94% 0.088 280.1)
XYZxyz(0.7011, 0.3296, 2.9318)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0231 #293102
analogous
#021131 #0A0231 #220231
triadic
#0A0231 #310A02 #02310A
tetradic
#0A0231 #310211 #293102 #023122
square
#0A0231 #310211 #293102 #023122
split-complementary
#0A0231 #312202 #113102
monochromatic
#06011D #06011D #0A0231 #16046C #2207A7

Accessibility & contrast

On white

19.70
#0A0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0231
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0231#FFFFFF#000000##FFFFFF
##0A02311.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a0231;
/* rgb */ color: rgb(10, 2, 49);
/* oklch */ color: oklch(15.9% 0.088 280.1);
Tailwind
colors: {
  custom: {
    50: '#4e4769',
    500: '#0a0231',
    950: '#000000',
  },
}
SCSS
$custom: #0a0231;
$custom-light: #4e4769;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0231",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 250.213,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15937,
    "c": 0.08846,
    "h": 280.1
  },
  "luminance": 0.0033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0A0231

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

Preview Lab → · Contrast checker → · Palette generator →

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