#230638#230638

#230638 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.091 H 306.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#230638
RGBrgb(35, 6, 56)
HSLhsl(275, 81%, 12%)
HSVhsv(275, 89%, 22%)
CMYKcmyk(37.5%, 89.3%, 0%, 78%)
CIE-LABlab(6.98, 25.56, -25.80)
CIE-LCHlch(6.98, 36.32, 314.73°)
OKLaboklab(20.94% 0.0543 -0.0736)
OKLCHoklch(20.94% 0.091 306.4)
XYZxyz(1.4719, 0.7731, 3.8123)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230638 #1B3806
analogous
#0A0638 #230638 #380634
triadic
#230638 #382306 #063823
tetradic
#230638 #380A06 #1B3806 #063438
square
#230638 #380A06 #1B3806 #063438
split-complementary
#230638 #343806 #06380A
monochromatic
#11031C #11031C #230638 #460C6F #6812A7

Accessibility & contrast

On white

18.19
#230638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#230638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230638
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230638#FFFFFF#000000##FFFFFF
##2306381.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#1F121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230638;
/* rgb */ color: rgb(35, 6, 56);
/* oklch */ color: oklch(20.9% 0.091 306.4);
Tailwind
colors: {
  custom: {
    50: '#61496f',
    500: '#230638',
    950: '#000000',
  },
}
SCSS
$custom: #230638;
$custom-light: #61496f;
$custom-dark: #000000;
JSON
{
  "hex": "#230638",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 274.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2094,
    "c": 0.09147,
    "h": 306.4
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#230638
secondary
#467821
accent
#F73184
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230638

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

Preview Lab → · Contrast checker → · Palette generator →

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