#251365#251365

#251365 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.133 H 283.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#251365
RGBrgb(37, 19, 101)
HSLhsl(253, 68%, 24%)
HSVhsv(253, 81%, 40%)
CMYKcmyk(63.4%, 81.2%, 0%, 60.4%)
CIE-LABlab(14.39, 32.84, -44.75)
CIE-LCHlch(14.39, 55.51, 306.27°)
OKLaboklab(27.67% 0.0312 -0.129)
OKLCHoklch(27.67% 0.133 283.6)
XYZxyz(3.3441, 1.7984, 12.4803)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251365 #536513
analogous
#132A65 #251365 #4E1365
triadic
#251365 #652513 #136525
tetradic
#251365 #65132A #536513 #13654E
square
#251365 #65132A #536513 #13654E
split-complementary
#251365 #654E13 #2A6513
monochromatic
#09051A #120931 #251365 #381D99 #4B26CC

Accessibility & contrast

On white

15.44
#251365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#251365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251365
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251365#FFFFFF#000000##FFFFFF
##2513651.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251365;
/* rgb */ color: rgb(37, 19, 101);
/* oklch */ color: oklch(27.7% 0.133 283.6);
Tailwind
colors: {
  custom: {
    50: '#695392',
    500: '#251365',
    950: '#000000',
  },
}
SCSS
$custom: #251365;
$custom-light: #695392;
$custom-dark: #000000;
JSON
{
  "hex": "#251365",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 253.171,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27665,
    "c": 0.13271,
    "h": 283.6
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#251365
secondary
#869D37
accent
#EB3DC5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251365

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

Preview Lab → · Contrast checker → · Palette generator →

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