#0D0233#0D0233

#0D0233 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.091 H 283.0°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#0D0233
RGBrgb(13, 2, 51)
HSLhsl(253, 92%, 10%)
HSVhsv(253, 96%, 20%)
CMYKcmyk(74.5%, 96.1%, 0%, 80%)
CIE-LABlab(3.32, 17.83, -28.15)
CIE-LCHlch(3.32, 33.33, 302.35°)
OKLaboklab(16.55% 0.0204 -0.0882)
OKLCHoklch(16.55% 0.091 283)
XYZxyz(0.7850, 0.3679, 3.1610)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0233 #283302
analogous
#021033 #0D0233 #250233
triadic
#0D0233 #330D02 #02330D
tetradic
#0D0233 #330210 #283302 #023325
square
#0D0233 #330210 #283302 #023325
split-complementary
#0D0233 #332502 #103302
monochromatic
#08011D #08011D #0D0233 #1C046E #2B07A9

Accessibility & contrast

On white

19.56
#0D0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D0233
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0233#FFFFFF#000000##FFFFFF
##0D02331.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E34
Deuteranopia (green-blind)
#000A32
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0d0233;
/* rgb */ color: rgb(13, 2, 51);
/* oklch */ color: oklch(16.5% 0.091 283.0);
Tailwind
colors: {
  custom: {
    50: '#50476b',
    500: '#0d0233',
    950: '#000000',
  },
}
SCSS
$custom: #0d0233;
$custom-light: #50476b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0233",
  "rgb": {
    "r": 13,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 253.469,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16546,
    "c": 0.09053,
    "h": 283
  },
  "luminance": 0.00368
}

Semantic roles & 50–950 ramp

primary
#0D0233
secondary
#62771A
accent
#FF29CF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0D0233

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

Preview Lab → · Contrast checker → · Palette generator →

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