#0F0330#0F0330

#0F0330 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.084 H 286.8°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#0F0330
RGBrgb(15, 3, 48)
HSLhsl(256, 88%, 10%)
HSVhsv(256, 94%, 19%)
CMYKcmyk(68.7%, 93.8%, 0%, 81.2%)
CIE-LABlab(3.43, 16.46, -25.73)
CIE-LCHlch(3.43, 30.54, 302.60°)
OKLaboklab(16.62% 0.0244 -0.0807)
OKLCHoklch(16.62% 0.084 286.8)
XYZxyz(0.7629, 0.3800, 2.8289)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0330 #243003
analogous
#030E30 #0F0330 #250330
triadic
#0F0330 #300F03 #03300F
tetradic
#0F0330 #30030E #243003 #033025
square
#0F0330 #30030E #243003 #033025
split-complementary
#0F0330 #302503 #0E3003
monochromatic
#09021D #09021D #0F0330 #21076A #330AA3

Accessibility & contrast

On white

19.52
#0F0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0F0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0330
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0330#FFFFFF#000000##FFFFFF
##0F03301.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#000B2F
Tritanopia (blue-blind)
#020F19
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f0330;
/* rgb */ color: rgb(15, 3, 48);
/* oklch */ color: oklch(16.6% 0.084 286.8);
Tailwind
colors: {
  custom: {
    50: '#504769',
    500: '#0f0330',
    950: '#000000',
  },
}
SCSS
$custom: #0f0330;
$custom-light: #504769;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0330",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 256,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.16619,
    "c": 0.08432,
    "h": 286.8
  },
  "luminance": 0.0038
}

Semantic roles & 50–950 ramp

primary
#0F0330
secondary
#5C731B
accent
#FE29C6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0330

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

Preview Lab → · Contrast checker → · Palette generator →

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