#1F0F65#1F0F65

#1F0F65 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.138 H 280.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1F0F65
RGBrgb(31, 15, 101)
HSLhsl(251, 74%, 23%)
HSVhsv(251, 85%, 40%)
CMYKcmyk(69.3%, 85.1%, 0%, 60.4%)
CIE-LABlab(13.06, 34.22, -46.97)
CIE-LCHlch(13.06, 58.11, 306.07°)
OKLaboklab(26.59% 0.0239 -0.1356)
OKLCHoklch(26.59% 0.138 280)
XYZxyz(3.0841, 1.5723, 12.4504)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0F65 #55650F
analogous
#0F2A65 #1F0F65 #4A0F65
triadic
#1F0F65 #651F0F #0F651F
tetradic
#1F0F65 #650F2A #55650F #0F654A
square
#1F0F65 #650F2A #55650F #0F654A
split-complementary
#1F0F65 #654A0F #2A650F
monochromatic
#08041B #0F0730 #1F0F65 #2F179A #401FD0

Accessibility & contrast

On white

15.97
#1F0F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1F0F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0F65
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0F65#FFFFFF#000000##FFFFFF
##1F0F651.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f0f65;
/* rgb */ color: rgb(31, 15, 101);
/* oklch */ color: oklch(26.6% 0.138 280.0);
Tailwind
colors: {
  custom: {
    50: '#665192',
    500: '#1f0f65',
    950: '#000000',
  },
}
SCSS
$custom: #1f0f65;
$custom-light: #665192;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0f65",
  "rgb": {
    "r": 31,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 251.163,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2659,
    "c": 0.13769,
    "h": 280
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#1F0F65
secondary
#8A9E32
accent
#F137CE
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F0F65

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

Preview Lab → · Contrast checker → · Palette generator →

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