#251265#251265

#251265 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.134 H 283.8°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#251265
RGBrgb(37, 18, 101)
HSLhsl(254, 70%, 23%)
HSVhsv(254, 82%, 40%)
CMYKcmyk(63.4%, 82.2%, 0%, 60.4%)
CIE-LABlab(14.20, 33.38, -45.06)
CIE-LCHlch(14.20, 56.08, 306.53°)
OKLaboklab(27.53% 0.0319 -0.1299)
OKLCHoklch(27.53% 0.134 283.8)
XYZxyz(3.3275, 1.7653, 12.4748)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251265 #526512
analogous
#122865 #251265 #4E1265
triadic
#251265 #652512 #126525
tetradic
#251265 #651228 #526512 #12654E
square
#251265 #651228 #526512 #12654E
split-complementary
#251265 #654E12 #286512
monochromatic
#0A051A #120931 #251265 #381B99 #4B25CD

Accessibility & contrast

On white

15.52
#251265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251265
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251265#FFFFFF#000000##FFFFFF
##2512651.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.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: #251265;
/* rgb */ color: rgb(37, 18, 101);
/* oklch */ color: oklch(27.5% 0.134 283.8);
Tailwind
colors: {
  custom: {
    50: '#695392',
    500: '#251265',
    950: '#000000',
  },
}
SCSS
$custom: #251265;
$custom-light: #695392;
$custom-dark: #000000;
JSON
{
  "hex": "#251265",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 253.735,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.13375,
    "h": 283.8
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#251265
secondary
#859D36
accent
#ED3BC4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251265

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

Preview Lab → · Contrast checker → · Palette generator →

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