#230738#230738

#230738 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.090 H 306.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#230738
RGBrgb(35, 7, 56)
HSLhsl(274, 78%, 12%)
HSVhsv(274, 88%, 22%)
CMYKcmyk(37.5%, 87.5%, 0%, 78%)
CIE-LABlab(7.18, 25.02, -25.49)
CIE-LCHlch(7.18, 35.72, 314.48°)
OKLaboklab(21.09% 0.0529 -0.0726)
OKLCHoklch(21.09% 0.09 306)
XYZxyz(1.4828, 0.7948, 3.8159)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230738 #1C3807
analogous
#0B0738 #230738 #380735
triadic
#230738 #382307 #073823
tetradic
#230738 #380B07 #1C3807 #073538
square
#230738 #380B07 #1C3807 #073538
split-complementary
#230738 #353807 #07380B
monochromatic
#11031B #11031B #230738 #450E6E #6715A5

Accessibility & contrast

On white

18.12
#230738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230738
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230738#FFFFFF#000000##FFFFFF
##2307381.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230738;
/* rgb */ color: rgb(35, 7, 56);
/* oklch */ color: oklch(21.1% 0.090 306.0);
Tailwind
colors: {
  custom: {
    50: '#614a6f',
    500: '#230738',
    950: '#000000',
  },
}
SCSS
$custom: #230738;
$custom-light: #614a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#230738",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 274.286,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2109,
    "c": 0.08984,
    "h": 306
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#230738
secondary
#477823
accent
#F43486
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230738

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

Preview Lab → · Contrast checker → · Palette generator →

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