#230646#230646

#230646 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.108 H 297.1°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#230646
RGBrgb(35, 6, 70)
HSLhsl(267, 84%, 15%)
HSVhsv(267, 91%, 27%)
CMYKcmyk(50%, 91.4%, 0%, 72.5%)
CIE-LABlab(8.39, 29.69, -33.52)
CIE-LCHlch(8.39, 44.78, 311.53°)
OKLaboklab(22.4% 0.0493 -0.0961)
OKLCHoklch(22.4% 0.108 297.1)
XYZxyz(1.8635, 0.9297, 5.8744)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230646 #294606
analogous
#060946 #230646 #430646
triadic
#230646 #462306 #064623
tetradic
#230646 #460609 #294606 #064643
square
#230646 #460609 #294606 #064643
split-complementary
#230646 #464306 #094606
monochromatic
#0E021C #0E021C #230646 #3F0B7E #5B10B7

Accessibility & contrast

On white

17.71
#230646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230646
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230646#FFFFFF#000000##FFFFFF
##2306461.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#191827
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230646;
/* rgb */ color: rgb(35, 6, 70);
/* oklch */ color: oklch(22.4% 0.108 297.1);
Tailwind
colors: {
  custom: {
    50: '#634a7a',
    500: '#230646',
    950: '#000000',
  },
}
SCSS
$custom: #230646;
$custom-light: #634a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230646",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 267.188,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22399,
    "c": 0.10795,
    "h": 297.1
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#230646
secondary
#598522
accent
#FA2D9E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #230646

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

Preview Lab → · Contrast checker → · Palette generator →

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