#0F0233#0F0233

#0F0233 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.090 H 285.7°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#0F0233
RGBrgb(15, 2, 51)
HSLhsl(256, 92%, 10%)
HSVhsv(256, 96%, 20%)
CMYKcmyk(70.6%, 96.1%, 0%, 80%)
CIE-LABlab(3.47, 18.48, -27.91)
CIE-LCHlch(3.47, 33.48, 303.51°)
OKLaboklab(16.78% 0.0244 -0.0869)
OKLCHoklch(16.78% 0.09 285.7)
XYZxyz(0.8161, 0.3839, 3.1624)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0233 #263302
analogous
#020E33 #0F0233 #270233
triadic
#0F0233 #330F02 #02330F
tetradic
#0F0233 #33020E #263302 #023327
square
#0F0233 #33020E #263302 #023327
split-complementary
#0F0233 #332702 #0E3302
monochromatic
#09011D #09011D #0F0233 #20046E #3207A9

Accessibility & contrast

On white

19.50
#0F0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0233
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0233#FFFFFF#000000##FFFFFF
##0F02331.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0233;
/* rgb */ color: rgb(15, 2, 51);
/* oklch */ color: oklch(16.8% 0.090 285.7);
Tailwind
colors: {
  custom: {
    50: '#51476b',
    500: '#0f0233',
    950: '#000000',
  },
}
SCSS
$custom: #0f0233;
$custom-light: #51476b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0233",
  "rgb": {
    "r": 15,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 255.918,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1678,
    "c": 0.09024,
    "h": 285.7
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#0F0233
secondary
#5E771A
accent
#FF29C6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0233

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

Preview Lab → · Contrast checker → · Palette generator →

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