#251073#251073

#251073 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.153 H 280.7°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#251073
RGBrgb(37, 16, 115)
HSLhsl(253, 76%, 26%)
HSVhsv(253, 86%, 45%)
CMYKcmyk(67.8%, 86.1%, 0%, 54.9%)
CIE-LABlab(15.49, 38.77, -52.09)
CIE-LCHlch(15.49, 64.93, 306.66°)
OKLaboklab(28.91% 0.0283 -0.1503)
OKLCHoklch(28.91% 0.153 280.7)
XYZxyz(4.0418, 2.0014, 16.3896)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251073 #5E7310
analogous
#102C73 #251073 #561073
triadic
#251073 #732510 #107325
tetradic
#251073 #73102C #5E7310 #107356
square
#251073 #73102C #5E7310 #107356
split-complementary
#251073 #735610 #2C7310
monochromatic
#09041B #14093D #251073 #3617A9 #481FDE

Accessibility & contrast

On white

15.00
#251073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#251073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251073
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251073#FFFFFF#000000##FFFFFF
##2510731.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#002F43
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251073;
/* rgb */ color: rgb(37, 16, 115);
/* oklch */ color: oklch(28.9% 0.153 280.7);
Tailwind
colors: {
  custom: {
    50: '#6c539c',
    500: '#251073',
    950: '#000000',
  },
}
SCSS
$custom: #251073;
$custom-light: #6c539c;
$custom-dark: #000000;
JSON
{
  "hex": "#251073",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 252.727,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28911,
    "c": 0.15299,
    "h": 280.7
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#251073
secondary
#91AA34
accent
#F236CA
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #251073

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

Preview Lab → · Contrast checker → · Palette generator →

#251073 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva