#251165#251165

#251165 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.135 H 284.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#251165
RGBrgb(37, 17, 101)
HSLhsl(254, 71%, 23%)
HSVhsv(254, 83%, 40%)
CMYKcmyk(63.4%, 83.2%, 0%, 60.4%)
CIE-LABlab(14.02, 33.90, -45.36)
CIE-LCHlch(14.02, 56.63, 306.77°)
OKLaboklab(27.41% 0.0326 -0.1308)
OKLCHoklch(27.41% 0.135 284)
XYZxyz(3.3116, 1.7336, 12.4695)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251165 #516511
analogous
#112765 #251165 #4F1165
triadic
#251165 #652511 #116525
tetradic
#251165 #651127 #516511 #11654F
square
#251165 #651127 #516511 #11654F
split-complementary
#251165 #654F11 #276511
monochromatic
#0A041A #120831 #251165 #381A99 #4B23CE

Accessibility & contrast

On white

15.59
#251165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251165
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251165#FFFFFF#000000##FFFFFF
##2511651.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251165;
/* rgb */ color: rgb(37, 17, 101);
/* oklch */ color: oklch(27.4% 0.135 284.0);
Tailwind
colors: {
  custom: {
    50: '#695292',
    500: '#251165',
    950: '#000000',
  },
}
SCSS
$custom: #251165;
$custom-light: #695292;
$custom-dark: #000000;
JSON
{
  "hex": "#251165",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 254.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27407,
    "c": 0.13476,
    "h": 284
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#251165
secondary
#849D35
accent
#EE3AC3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251165

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

Preview Lab → · Contrast checker → · Palette generator →

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