#250340#250340

#250340 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.106 H 303.8°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#250340
RGBrgb(37, 3, 64)
HSLhsl(273, 91%, 13%)
HSVhsv(273, 95%, 25%)
CMYKcmyk(42.2%, 95.3%, 0%, 74.9%)
CIE-LABlab(7.48, 30.06, -30.74)
CIE-LCHlch(7.48, 42.99, 314.36°)
OKLaboklab(21.64% 0.0588 -0.0878)
OKLCHoklch(21.64% 0.106 303.8)
XYZxyz(1.7207, 0.8286, 4.9188)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250340 #1E4003
analogous
#070340 #250340 #40033C
triadic
#250340 #402503 #034025
tetradic
#250340 #400703 #1E4003 #033C40
square
#250340 #400703 #1E4003 #033C40
split-complementary
#250340 #3C4003 #034007
monochromatic
#11011D #11011D #250340 #47067A #6908B5

Accessibility & contrast

On white

18.01
#250340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#250340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250340
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250340#FFFFFF#000000##FFFFFF
##2503401.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#1F1422
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #250340;
/* rgb */ color: rgb(37, 3, 64);
/* oklch */ color: oklch(21.6% 0.106 303.8);
Tailwind
colors: {
  custom: {
    50: '#644875',
    500: '#250340',
    950: '#000000',
  },
}
SCSS
$custom: #250340;
$custom-light: #644875;
$custom-dark: #000000;
JSON
{
  "hex": "#250340",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 273.443,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21637,
    "c": 0.1057,
    "h": 303.8
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#250340
secondary
#4A821D
accent
#FF2988
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #250340

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

Preview Lab → · Contrast checker → · Palette generator →

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