#0F0230#0F0230

#0F0230 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.086 H 287.4°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#0F0230
RGBrgb(15, 2, 48)
HSLhsl(257, 92%, 10%)
HSVhsv(257, 96%, 19%)
CMYKcmyk(68.7%, 95.8%, 0%, 81.2%)
CIE-LABlab(3.24, 16.86, -26.04)
CIE-LCHlch(3.24, 31.02, 302.92°)
OKLaboklab(16.38% 0.0259 -0.0824)
OKLCHoklch(16.38% 0.086 287.4)
XYZxyz(0.7521, 0.3583, 2.8253)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0230 #233002
analogous
#020C30 #0F0230 #260230
triadic
#0F0230 #300F02 #02300F
tetradic
#0F0230 #30020C #233002 #023026
square
#0F0230 #30020C #233002 #023026
split-complementary
#0F0230 #302602 #0C3002
monochromatic
#09011D #09011D #0F0230 #21046B #3407A6

Accessibility & contrast

On white

19.60
#0F0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0230
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0230#FFFFFF#000000##FFFFFF
##0F02301.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0230;
/* rgb */ color: rgb(15, 2, 48);
/* oklch */ color: oklch(16.4% 0.086 287.4);
Tailwind
colors: {
  custom: {
    50: '#504769',
    500: '#0f0230',
    950: '#000000',
  },
}
SCSS
$custom: #0f0230;
$custom-light: #504769;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0230",
  "rgb": {
    "r": 15,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 256.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16378,
    "c": 0.08633,
    "h": 287.4
  },
  "luminance": 0.00358
}

Semantic roles & 50–950 ramp

primary
#0F0230
secondary
#5B7519
accent
#FF29C2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0230

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

Preview Lab → · Contrast checker → · Palette generator →

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