#1F0F69#1F0F69

#1F0F69 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.143 H 279.1°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1F0F69
RGBrgb(31, 15, 105)
HSLhsl(251, 75%, 24%)
HSVhsv(251, 86%, 41%)
CMYKcmyk(70.5%, 85.7%, 0%, 58.8%)
CIE-LABlab(13.55, 35.51, -48.80)
CIE-LCHlch(13.55, 60.36, 306.04°)
OKLaboklab(27.07% 0.0225 -0.1409)
OKLCHoklch(27.07% 0.143 279.1)
XYZxyz(3.2849, 1.6526, 13.5077)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0F69 #59690F
analogous
#0F2C69 #1F0F69 #4C0F69
triadic
#1F0F69 #691F0F #0F691F
tetradic
#1F0F69 #690F2C #59690F #0F694C
square
#1F0F69 #690F2C #59690F #0F694C
split-complementary
#1F0F69 #694C0F #2C690F
monochromatic
#08041B #0F0733 #1F0F69 #2F179F #3F1ED4

Accessibility & contrast

On white

15.78
#1F0F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1F0F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0F69
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0F69#FFFFFF#000000##FFFFFF
##1F0F691.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266B
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f0f69;
/* rgb */ color: rgb(31, 15, 105);
/* oklch */ color: oklch(27.1% 0.143 279.1);
Tailwind
colors: {
  custom: {
    50: '#675195',
    500: '#1f0f69',
    950: '#000000',
  },
}
SCSS
$custom: #1f0f69;
$custom-light: #675195;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0f69",
  "rgb": {
    "r": 31,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 250.667,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27069,
    "c": 0.14273,
    "h": 279.1
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#1F0F69
secondary
#8EA132
accent
#F236D0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F0F69

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

Preview Lab → · Contrast checker → · Palette generator →

#1F0F69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva