#250F62#250F62

#250F62 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.133 H 285.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#250F62
RGBrgb(37, 15, 98)
HSLhsl(256, 73%, 22%)
HSVhsv(256, 85%, 38%)
CMYKcmyk(62.2%, 84.7%, 0%, 61.6%)
CIE-LABlab(13.33, 33.97, -44.51)
CIE-LCHlch(13.33, 55.99, 307.35°)
OKLaboklab(26.83% 0.035 -0.1282)
OKLCHoklch(26.83% 0.133 285.3)
XYZxyz(3.1377, 1.6166, 11.6996)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F62 #4C620F
analogous
#0F2262 #250F62 #4F0F62
triadic
#250F62 #62250F #0F6225
tetradic
#250F62 #620F22 #4C620F #0F624F
square
#250F62 #620F22 #4C620F #0F624F
split-complementary
#250F62 #624F0F #22620F
monochromatic
#0A041B #11072D #250F62 #391797 #4D1FCC

Accessibility & contrast

On white

15.87
#250F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#250F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F62
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F62#FFFFFF#000000##FFFFFF
##250F621.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#032839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #250f62;
/* rgb */ color: rgb(37, 15, 98);
/* oklch */ color: oklch(26.8% 0.133 285.3);
Tailwind
colors: {
  custom: {
    50: '#695190',
    500: '#250f62',
    950: '#000000',
  },
}
SCSS
$custom: #250f62;
$custom-light: #695190;
$custom-dark: #000000;
JSON
{
  "hex": "#250f62",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 255.904,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26825,
    "c": 0.13294,
    "h": 285.3
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#250F62
secondary
#7F9B32
accent
#F038BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #250F62

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

Preview Lab → · Contrast checker → · Palette generator →

#250F62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva