#230648#230648

#230648 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.110 H 296.0°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#230648
RGBrgb(35, 6, 72)
HSLhsl(266, 85%, 15%)
HSVhsv(266, 92%, 28%)
CMYKcmyk(51.4%, 91.7%, 0%, 71.8%)
CIE-LABlab(8.61, 30.26, -34.56)
CIE-LCHlch(8.61, 45.93, 311.20°)
OKLaboklab(22.62% 0.0484 -0.0991)
OKLCHoklch(22.62% 0.11 296)
XYZxyz(1.9276, 0.9554, 6.2125)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230648 #2B4806
analogous
#060A48 #230648 #440648
triadic
#230648 #482306 #064823
tetradic
#230648 #48060A #2B4806 #064844
square
#230648 #48060A #2B4806 #064844
split-complementary
#230648 #484406 #0A4806
monochromatic
#0E021C #0E021C #230648 #3E0B80 #5A0FB9

Accessibility & contrast

On white

17.63
#230648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230648
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230648#FFFFFF#000000##FFFFFF
##2306481.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#181928
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230648;
/* rgb */ color: rgb(35, 6, 72);
/* oklch */ color: oklch(22.6% 0.110 296.0);
Tailwind
colors: {
  custom: {
    50: '#634a7c',
    500: '#230648',
    950: '#000000',
  },
}
SCSS
$custom: #230648;
$custom-light: #634a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230648",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 266.364,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22619,
    "c": 0.11031,
    "h": 296
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#230648
secondary
#5B8723
accent
#FB2DA0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230648

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

Preview Lab → · Contrast checker → · Palette generator →

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